+ 3

Why is there an error in this coding

Does not request input for the user age. Name = input( "enter your name") Age = input("enter your age") Result =("hello" + name + "! you are" + age) Print(results)

23rd Feb 2019, 10:55 AM
felix Kiprop
felix Kiprop - avatar
2 Respostas
+ 1
Due to your difference in assignment and print statement.. Result is not equal to results, also Name is not equal to name.. check your words assignment and in print statement
23rd Feb 2019, 10:57 AM
Aakash Gupta
Aakash Gupta - avatar
+ 1
felix Kiprop Remember that in Sololearn's Python IDE all inputs must be entered at the beginning of the program. Try this as input: Hank 20
23rd Feb 2019, 4:52 PM
Diego
Diego - avatar