Why cant i use time.sleep in sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why cant i use time.sleep in sololearn

Can somebody please explain and if i can use it please tell me how

14th Jul 2021, 4:13 AM
gabriel
gabriel - avatar
1 Answer
+ 8
you can use it, but you will not notice it ^^ sololearn run scripts at server side, so no real interactivity can happen: when you press the run button, if your program requires input you'll be prompted to enter ALL your input at once (line separated), then script and input are send to server, where it is executed while capturing the output, wich is send back to be displayed once the script end (or time out)...
14th Jul 2021, 4:17 AM
visph
visph - avatar