4 Respostas
+ 1
Well, this is absolutely possible with normal IDEs. But sololearn's IDE is not supporting dynamic inputs and it will throw a TimeOut error if it takes more time for execution
0
Sεηιrυ ραsαη i meant what is it (multitasking) and where i can learn that, i know playground is not capable of doing that.
0
Here's an attempt. Unfortunately, when the countdown reaches 0 and the user didn't enter anything, the pending input() seems to keep the thread alive so the user still needs to press return 🤔
https://code.sololearn.com/cRFV058HT9iT/?ref=app