0

After watching youtub code torurial i tried a code which output was not as what i saw on that code torurial

Hello I'm beginner here please help to find out what is wrong with my code https://code.sololearn.com/cc7nhtgZtpMV/?ref=app https://code.sololearn.com/cc7nhtgZtpMV/?ref=app

1st Feb 2023, 5:24 AM
Payal Agrawal
4 Respuestas
+ 2
Check your input and output format it must be same as which is given in constraints
1st Feb 2023, 6:21 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Payal Agrawal uses of wrong syntaxes .. this is correct way look here.... name = input ("What is your name:") print ("Hello",name) Yould should learn this.. https://www.sololearn.com/course/JUMP_LINK__&&__Python__&&__JUMP_LINK https://www.sololearn.com/course/Python-for-Beginners
1st Feb 2023, 5:52 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
0
name = input("What is your name?") print("Hello, "+name) ** i did a spave betwenn comma and the name variable to the output format should be fine** well like this print is a buildin/onboard function from python if you want to call a function you have to type functionName() the "=" is used for asign a value to a variable, beside that, just dont use same variable names there are asign to keywords like: "for", "while", "if", "print", "else", "break", "continue" and a bit more =) hope that helped you
3rd Feb 2023, 2:24 PM
S3R43o3
S3R43o3 - avatar