What's a EOF error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's a EOF error?

5th Sep 2018, 3:23 PM
BenTwo
2 Answers
5th Sep 2018, 4:14 PM
Luiz Santos
Luiz Santos - avatar
+ 1
It means you are trying to read something after the end of input or a file. For example, if you write one line to the input, but your code tries to read 2 lines, the second call to input() results in EOF error
5th Sep 2018, 4:12 PM
michal