0

How to fix EOFError?

Im getting EOFErron on a code in sololearn only, but the code is working well in other python IDE like pydroid3. Link: https://code.sololearn.com/c6JiOD2nl9Tk/?ref=app

8th Jul 2019, 10:57 AM
Victor
9 odpowiedzi
+ 2
Victor nothing wrong with your program. Here is a screenshot how you can provide multiple inputs. https://pasteboard.co/In1xG3t.jpg
8th Jul 2019, 12:22 PM
Tibor Santa
Tibor Santa - avatar
+ 1
You can get this type of error on sololearn if you repeatedly ask for user input but none is given. This type of interactivity in not supported by the sololearn compilers (except with web code). If your program needs multiple inputs, you can give all of them at the same time in the same popup window, separating them with endline character
8th Jul 2019, 11:31 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Tibor Santa thanks man.
8th Jul 2019, 1:03 PM
Victor
+ 1
franky I really don't see the reason of your outrage, as far as I can see, ChillPill was requesting more details about the nature of the error message. I would have done the same (only I have actually encountered the same error before...) But it could be caused by something else too. Easiest way to tell, is to look at the actual code. We are here to help each other, not to fight. So please chill out, no need to fall at each others throats. ;)
8th Jul 2019, 2:12 PM
Tibor Santa
Tibor Santa - avatar
+ 1
ChillPill yaa I edited the post and add code link after you said to do so.
8th Jul 2019, 2:24 PM
Victor
0
franky I use sololearn in my mobile...but still I tried as you said, but still it's not working.
8th Jul 2019, 11:09 AM
Victor
0
Thanks Tibor, if we can actually help one another this way, the world will be a better place and not some troll who thinks they know everything.
8th Jul 2019, 1:59 PM
Franky BrainBox
Franky BrainBox - avatar
- 1
EOF means End Of File. In sololearn, make sure your mouse pointer is at the last line of code. To make it easier, after writing a code, hit enter to get the cursor to the next line.
8th Jul 2019, 11:05 AM
Franky BrainBox
Franky BrainBox - avatar
- 1
If you have linked external files to your project, try check every file to make sure that the cursor is at the end of every line of code in each file.
8th Jul 2019, 11:13 AM
Franky BrainBox
Franky BrainBox - avatar