0

Why does this not work x=input(enter your name) Print("hi",x)

24th Dec 2016, 2:49 AM
Nate
2 Respuestas
+ 1
In order to use the input function and print a string you must wrap the string in quotes " " or ' '. Otherwise the input will treat the string as a variable.
24th Dec 2016, 2:54 AM
Devin
0
Thank you very much
24th Dec 2016, 2:55 AM
Nate