+ 1
I keep getting EOFError even when it works on other code editors?
Age = input("can you tell me your age") print(" ") Name = input(can you also give me your name?) print("your age is "+str(Age)+" and your name is "+name EOFERROR
4 odpowiedzi
+ 7
The input is here not interactive thus you have to enter all inputs data at the beginning as follows:
19
aName
+ 1
Thank you JaScript
+ 1
EOFError is due to a missing parenthesis in line 4.
print("your age is " + str(Age) + " and your name is " + name)
Edit: If you want to add a new line, you can append a "\n" to any string.
0
In the input with Name, you don't put the ".