What's a EOF error? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What's a EOF error?

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