+ 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
2 Answers
+ 2
It doesn't work. It will time out.