0

Anyone able to get time.sleep(n) to work on Sololearn?

Time delay not working Python and Sololearn

26th May 2021, 8:59 AM
Christopher McFadden
Christopher McFadden - avatar
4 Respuestas
+ 3
Code here is ran on a remote server, then output is sent back. It works! But you'll just never see it interactivly on SL, try it on pydroid!
26th May 2021, 9:17 AM
Slick
Slick - avatar
+ 1
E.g. this just dumps all lines in one after a short delay.. import time Print("Line1") time.sleep(0.5) Print("Line2")
26th May 2021, 9:00 AM
Christopher McFadden
Christopher McFadden - avatar
+ 1
Ah ok... that makes sense :D
26th May 2021, 9:27 AM
Christopher McFadden
Christopher McFadden - avatar