Time.sleep( t ) | Sololearn: Learn to code for FREE!

+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

8/27/2018 10:45:24 AM

Mbrustler

2 Answers

New Answer

+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