+ 2
Please can someone help me with my codeđ„ș.. it's not running
# 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
12 Respostas
+ 6
Deborah Usman your code is incomplete
See the second comment after the "nice to meet you " remove (,) when you string pass "nice to meet you" then use '+' and then name (when we concatenate the string then use plus ('+')) after that print the message.
+ 4
See this and more read about concatenation in python course
https://code.sololearn.com/c94Ox4oIoq9X/?ref=app
+ 2
Deborah Usman ,
there is a syntax error in your code. You forgot to add a plus sign to concatenate the two strings. and print operator is missing..
Use this:
message = "Nice to meet you, " + name
look this modified version..
name = input()
message = "Nice to meet you, " + name
print(message)
+ 2
Awwn.. thank you đ.. I've done it
+ 2
You need to concatenate the message you are trying to output.
message = "Nice to meet you, " + name
This should work properly.
+ 1
the code worked when I ran it
+ 1
You can use the f string function in python for the same result
Name = input("Type your name: ")
Then print the fstring like this
Print(f"nice to meet you {name}")
+ 1
Deborah Usman
# 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)
+ 1
Thank you
+ 1
Remove (,) and add + operator in between the two strings u want to add
0
I've tried that, but it's still not working
0
Write print (message) after the third comment