0
Can you helpe me
# Take the name as input name = "input" # Use concatenation to join 2 strings message = "Nice to meet you, " + name # Display the message to the user print ('message')
4 odpowiedzi
+ 3
You have 2 errors which you need to review in the course.
How do you take input? (Isn't that already in the answer? Did you change it?) It has something to do with ().
If you print your last line, what do you see? Why is that? What happens in python if we wrap text in " " or ' '? Is it different?
+ 3
Alhaaz please don't post an answer as is. Especially, if it's not the right one for the task (you're missing a space).
It doesnt help people to learn, it helps them to rely on others when they sometimes need to pay more attention or think and solve their own way.
0
correct way:-
name=input()
message="Nice to meet you,"+name
print (message)