What's a EOF error? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What's a EOF error?

5th Sep 2018, 3:23 PM
BenTwo
2 Respostas
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