+ 14

[SOLVED] Does sleep function not work properly in Sololearn?

I am trying to use sleep function by importing time module in python. But it is showing no output. Here is the code- https://code.sololearn.com/cbPVgE8dIyiM/?ref=app Note - It is working till the value of 5 but after giving value greater than 5, it is not working.

15th Jul 2021, 7:21 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
3 Respostas
+ 11
Sololearn playground has a max run time for your code. A sleep time of 10 seconds most likely exceeds the time limit.
15th Jul 2021, 7:36 AM
David Akhihiero
David Akhihiero - avatar
+ 8
Vats Bro sleep function works in sl but limit is 5seconds https://code.sololearn.com/cv9s5XZ7U7UN/?ref=app
15th Jul 2021, 9:28 AM
R🍁🇼🇳
R🍁🇼🇳 - avatar
15th Jul 2021, 10:45 AM
VSR [ DEV ]
VSR [ DEV ] - avatar