+ 1

Can you implement a time delay in python3 on sololearn code playground?

Dear fellow learners, I want to set a time delay in my code. Usually I think it works like this. For example: import time while True: print("This prints once a minute.") time.sleep(60) # Delay for 1 minute (60 seconds). with import time and the time.sleep(x) function. However, this doesn't work on the sololearn code playground Is there a way to make that happen? Thank you

11th Sep 2018, 5:44 AM
Joseph.Atzinger
2 Antworten
+ 2
It doesn't work. It will time out.
11th Sep 2018, 6:31 AM
Paul
Paul - avatar