Why Loop? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

6th Feb 2022, 12:26 PM
Zarediq Bat
Zarediq Bat - avatar
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.
6th Feb 2022, 12:34 PM
Ipang