+ 1
Why Loop?
which should be repeated again, but why did the error occur, why why why ? please tell me, the code is wrong or the compiler is like that, because when i try the code in other compiler it works https://code.sololearn.com/cXfjZ12Sdfqr/?ref=app
1 Answer
+ 10
Code Playground does not work interactively, so all necessary inputs must be provided ahead of time. Your code requires interactive input/output because it keeps asking for input in the while...loop.