+ 1

EOF problem

How to Solve the EOF problem in Sololearn Playground.

21st May 2020, 2:34 PM
Rhishabh Roy
Rhishabh Roy - avatar
2 odpowiedzi
+ 1
Multiple inputs in a program can cause EOF error. This is because sololearn takes all input in the beginning and not while executing program. If it found nothing in the raw_input, the error is raised. You can't fix it but make your program to take all inputs at first.
21st May 2020, 2:41 PM
Lerninn
0
It doesn't make bloody sense. If I need say age of 5 people how do I take it in one input? Even if I decide to create a list, it will still need 5 inputs, wont it?
30th Dec 2021, 8:24 PM
Jonasz Chmura
Jonasz Chmura - avatar