Now this is right | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Now this is right

name=input ("Enter your name:") print ("Hello ," + name)

20th Sep 2021, 2:53 PM
Shalini
2 Answers
+ 2
Change the 'Print' to 'print' - its a keyword. The variable 'name' should match with the 'Name' given in the input. Please see the code below: print ("Hello ," + Name)
20th Sep 2021, 3:12 PM
Karthikeyan R
+ 1
Remove the "+", replace "Name" with "name", and replace "Print" with "print"
20th Sep 2021, 2:55 PM
Yahel
Yahel - avatar