Input during execution? (Python) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Input during execution? (Python)

I have a program that plays little games like rock, paper, scissors in stdout, but it won't work in SoloLearn because all inputs are asked for before the execution of the code. This makes the game unplayable. Is there any way to make it work like it would on a desktop in this app?

17th Sep 2020, 3:49 PM
DrewbleDude
DrewbleDude - avatar
1 ответ
+ 3
Unfortunately that isn't possible in SL.. But you can copy the code into another app, like pydroid, and it will work as you know it from your PC..
17th Sep 2020, 3:56 PM
G B
G B - avatar