+ 5

Why it shows error???

I have learned this online but shows some error here can anyone explain why???? https://code.sololearn.com/cB04lbxwh09y/?ref=app

8th Aug 2018, 5:43 PM
Saquib Imam
Saquib Imam - avatar
2 Antworten
+ 4
because sololearn does not support multiple inputs. that's why this gives you a error.
8th Aug 2018, 6:39 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 1
your program is correct...you used while loop so it will continue need input which you haven't given. to avoid eof error remove while true then it will works fine for single input otherwise you have to provide input till the condition meet which is breaking the loop.
8th Aug 2018, 6:40 PM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar