- 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

3rd Jul 2021, 7:17 AM
Gangadhar
Gangadhar - avatar
3 odpowiedzi
+ 5
In the app, you have to give all the input first. On the computer, you don't.
3rd Jul 2021, 7:28 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 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
3rd Jul 2021, 7:31 AM
visph
visph - avatar
+ 1
Ohh OK thank you for telling both of you
3rd Jul 2021, 7:33 AM
Gangadhar
Gangadhar - avatar