- 1
Why do I get an EOF error in this line of code? (in message)
forename = str(input("Please tell us your first name "))
5 odpowiedzi
0
In case, If you don't give any input.. otherwise works fine
0
Could you explain? How do I give it input?
0
Your code is fine. Usually EOFerror happens when input was missed. SoloLearn input may not be clear to beginners at first. Please use for the full work of the IDE
0
forename = input("Please tell us your first name ") or "nobody "
str() is useless
0
forename = input("Please tell us your first name : ")
print(forename)
#Findlay Wright run this code and on pop-up box , type name and hit submit.