+ 4
Time.sleep( t )
how should time.sleep be used? i tried using it in this code but i only get timelimit exceeded https://code.sololearn.com/chU4KCZFZ9v5/?ref=app
2 Answers
+ 5
time.sleep() works in seconds, and the sololearn compiler's time limit for execution is around 5 seconds. so by doing time.sleep(5) on SL, your program will time out
+ 1
thank you very much :D