+ 6

EOF error

what is EOF error in python

7th Jun 2020, 6:46 AM
kireeti
kireeti - avatar
11 ответов
+ 5
You need to provide all the inputs at once in sololearn ,it is not interactive like visual Studio or any other ide
7th Jun 2020, 6:56 AM
Abhay
Abhay - avatar
+ 12
An EOF Error is raised when a built-in function like input() or raw_input() do not read any data before encountering the end of their input stream. The file methods like read() return an empty string at the end of the file.
7th Jun 2020, 7:38 AM
𝚂𝚊𝚗𝚍𝚎𝚎𝚙 🤍
𝚂𝚊𝚗𝚍𝚎𝚎𝚙 🤍 - avatar
+ 5
Could you see my code and tell the corrections My code above runs in visual Studio but in this Sololearn it is showing EOF error
7th Jun 2020, 6:55 AM
kireeti
kireeti - avatar
+ 5
The code wont work in sololearn. Interactive code doesnt work.
7th Jun 2020, 6:56 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 4
Show your code please
7th Jun 2020, 6:50 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 4
Thanks
13th Jul 2020, 3:59 AM
kireeti
kireeti - avatar
+ 3
See this code. Is this the cause? If so, dont create a empty function. Atleast use a 'pass' command or a comment https://code.sololearn.com/copBJcz4fMZ4/?ref=app
7th Jun 2020, 6:53 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
so, here does it mean that we cannot use multiple input in Sololearn?
1st Sep 2020, 6:33 AM
coder_2020