Can someone tell what is the bug Actually it asks for Mary then Robert then Anna but how to put them all together? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone tell what is the bug Actually it asks for Mary then Robert then Anna but how to put them all together?

# Take the name as input name = "Mary" # Use concatenation to join 2 strings message = "Nice to meet you, " + name # Display the message to the user print(message)

12th Sep 2023, 2:11 AM
Ashir singh Chouhan
Ashir singh Chouhan - avatar
1 Answer
+ 6
See the comment carefully, in the first comment already suggest you should input the name instead of store the name name = input()
12th Sep 2023, 2:18 AM
Sakshi
Sakshi - avatar