0

Getting EOf erro

I'm getting EOF error and I'm not able to understand https://code.sololearn.com/cB5VP1lup0I4/?ref=app https://code.sololearn.com/cB5VP1lup0I4/?ref=app

1st Sep 2020, 7:03 PM
Akash Dubey
Akash Dubey - avatar
4 Respostas
+ 2
It's because you put an input in the while loop, in a normal python interpreter, it will run without error, but thé platform of sololearn takes input once, so you take the input out of the loop.
1st Sep 2020, 7:21 PM
Nathan Sikati
Nathan Sikati - avatar
+ 2
Or Provide all the inputs at once , 50 100 110
1st Sep 2020, 7:22 PM
Abhay
Abhay - avatar
1st Sep 2020, 7:21 PM
shubham kumar
shubham kumar - avatar
0
Take line 3 above while loop.
1st Sep 2020, 7:20 PM
shubham kumar
shubham kumar - avatar