+ 2
19th Jan 2019, 2:03 PM
Purvaja Durga
Purvaja Durga - avatar
6 Answers
+ 4
That's weird. An EOF error usually happens when there is some kind of loop and you try to read/handle more input than there is
19th Jan 2019, 3:45 PM
Anna
Anna - avatar
+ 3
You can find the version via import sys; print(sys.version). I don't see how the could you linked could raise an EOF error.
19th Jan 2019, 2:15 PM
Anna
Anna - avatar
+ 3
You seem to have a very weird version of python. import sys print(sys.version) # output: python version Is there any chance you're using python 2 on your laptop?
19th Jan 2019, 2:28 PM
Anna
Anna - avatar
+ 2
Here I'm getting output but in ideal python 3 ( in my laptop) I'm getting EOF error Please anyone tell
19th Jan 2019, 2:05 PM
Purvaja Durga
Purvaja Durga - avatar
0
When I print(sys.version) it is not displaying any version?
19th Jan 2019, 2:23 PM
Purvaja Durga
Purvaja Durga - avatar
0
In my laptop I have python 3.7.0 version, when I'm executing the above code I'm getting EOF error
19th Jan 2019, 2:41 PM
Purvaja Durga
Purvaja Durga - avatar