Ask coding questions

← Back to all posts
How do you make the program wait?
ArmedWithStew

time.sleep(x) doesn't work so how else, in python, are you supposed to wait?

Answered by ash15khng [earned 5 cycles]
View Answer
Voters
sricharan1234
ArmedWithStew
Comments
hotnewtop
ash15khng

You need to import time before you can use it by doing import time at the top of your code.

[deleted]

time.sleep works for me. E.g.