0

Input error im confused

I'm really confused about what's wrong, name = "Michael" print("hello my name is "+ name) name = input("pls eneter your name:") print(name + "Sebastian") age = input("Now tell me your age:") print (age + "12" ) HERES WHAT IT SAYS :Traceback (most recent call last): File "file0.py", line 6, in <module> age = input("Now tell me your age:") EOFError: EOF when reading a line

20th May 2021, 3:54 AM
Wizzy
Wizzy - avatar
1 Réponse
+ 2
in sololearn code playground you must provide all inputs required by your script at once, each on a new line: Wizzy 18
20th May 2021, 4:09 AM
visph
visph - avatar