0
EOFError: 'EOF when reading a line' with python
WHY DOES IT SHOW ME THIS MESSAGE a = input() print (a) https://www.youtube.com/watch?v=Ap3GY50EQ7o&feature=youtu.be
7 Answers
0
That didnt help but thanks
0
Adam St-Maurice, try this: https://www.tutorialspoint.com/How-to-catch-EOFError-Exception-in-JUMP_LINK__&&__Python__&&__JUMP_LINK#:~:text=An%20EOFError%20is%20raised%20when,the%20end%20of%20the%20file.
0
the problem is your space
0
python wasn't especting a space between the print and what to print
0
so it sends an error
0
EOF is end of function so when you see this, look at the function it is talking about