0

What am I doing wrong?

I’m working on Chatv1p1 in Python. I’m having trouble solving all 3 test cases without it marking the other 2 wrong. I’ve tried them altogether and individually and it either says all are wrong when I do them altogether and one is right when I do just a single test case. I’m very new to this and it’s driving me crazy, am I missing something to separate out the test cases? Any help is appreciated! https://code.sololearn.com/c5rQmKmtZD0U/?ref=app

16th Jun 2023, 4:05 AM
Alicia Smith
4 ответов
+ 4
Alicia Smith , if you still having issues, post your latest / current code here.
16th Jun 2023, 10:58 AM
Lothar
Lothar - avatar
+ 2
i think you have to use the input function. name = input() message = „Nice to meet you, „ +name
16th Jun 2023, 5:14 AM
Angela
Angela - avatar
0
Thank you! That makes total sense. Its still however marking it wrong. It is printing all 3 outputs in the same test case and marking it incorrect. Is there a way to separate these so it solves all 3?
16th Jun 2023, 4:19 AM
Alicia Smith
0
name = input() message = "Nice to meet you, " + name print(message) thats the complete code then all 3 are solved.
16th Jun 2023, 10:07 AM
Angela
Angela - avatar