+ 1

How to use the sleep function correctly

When i use the sleep function, the server runs the program and gives me every output at the same time. Is there any way to avoid this? Thanks

13th Oct 2021, 6:30 PM
tripleBB
tripleBB - avatar
2 odpowiedzi
+ 2
No, not on sololearn. Mess around with time.sleep(x) in a local ide on your phone or computer
13th Oct 2021, 7:00 PM
Slick
Slick - avatar
+ 1
import time time.sleep({Time In Seconds})
17th Oct 2021, 5:02 PM
Sancho Godinho
Sancho Godinho - avatar