0

What does this error mean? Please correct my code.

s = input("Identify yourself: ") print(s) t = input("Where are you from: ") print(t) Gives an error saying: Identify yourself: Where are you from: Traceback (most recent call last): File "..\Playground\", line 5, in <module> t = input("Where are you from: ") EOFError: EOF when reading a line

2nd Nov 2016, 2:19 PM
Tosh
Tosh - avatar
2 Answers
0
I can't see what the error is hmm. Maybe check your code for correct indentation using the tab button. what version of python are you using?
2nd Nov 2016, 2:25 PM
Harry Pearson
Harry Pearson - avatar
0
Thanks for your reply. I am using Playground console. However I have anaconda installed - python 3 and will try to see if that makes a difference.
2nd Nov 2016, 3:07 PM
Tosh
Tosh - avatar