+ 3

Python time.sleep()

Why in SoloLearn you can not use the time.sleep() in python?

22nd Oct 2018, 2:14 PM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar
3 Réponses
+ 10
Because Code Playground does not produce real-time console output. The program is executed and the output is sent from the server to client-side. As a result, time.sleep() was executed, but it does not affect the final output.
22nd Oct 2018, 2:23 PM
Hatsy Rei
Hatsy Rei - avatar
0
If you have a PC or laptop i recomend you use this website called repl.it, it is much better than sololearn playground
23rd Oct 2018, 9:16 PM
Rohan
0
Rohan , i ussualy programming on my pc(in local couse is better) but when im at work sometimes when i free i dont have my personal pc, for this reason i like share my codes
23rd Oct 2018, 9:25 PM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar