0

Why my code is resulting in a EOF error in the end?

https://code.sololearn.com/c4KdMBT3EQ27/?ref=app

30th Mar 2019, 5:59 PM
arturo
arturo - avatar
4 odpowiedzi
+ 5
Because you put the whole thing in an infinite loop without a break condition, so it will expect input until the end of time
30th Mar 2019, 7:00 PM
Anna
Anna - avatar
+ 4
Yes, exactly 👍
30th Mar 2019, 7:09 PM
Anna
Anna - avatar
0
I was expecting to ask for input forever so that you can put other numbers if you want... In the other "editor" that I have in my cellphone there isn't this error. It just asks for another number instead. Oh... I think I got it. The way that solo learn asks for input is diferent... It asks all the input necessary in just once time... It is that?
30th Mar 2019, 7:08 PM
arturo
arturo - avatar
0
your code executing duration must be under 5 secs to run in sololearn
9th Apr 2019, 8:35 AM
Sousou
Sousou - avatar