- 1
It is not properly working in this app but works in my laptop
If condition is working but else is not working, it is throwing some error https://code.sololearn.com/c2A20a17a23A/?ref=app
3 Answers
+ 5
In the app, you have to give all the input first.
On the computer, you don't.
+ 4
it throw error only in sololearn if you doesn't provide enough inputs... try by entering:
0
14
11
all three at once, each on a new line, in input pop up box ^^
sololearn execute code at server side, so all input required by your program must be given all at once at start of program: no real time input ;P
+ 1
Ohh OK thank you for telling both of you