Skip to content
← Back to Community
How to Let python wait to contineud to next code?
Profile icon
JiuyuZhang

How to Let python wait to contineud to next code?

Voters
Profile icon
ThingGaming
Profile icon
4035406
Profile icon
DSAZhixun20
Profile icon
JamesDavis9
Profile icon
JiuyuZhang
Comments
hotnewtop
Profile icon
mat1

You'll need the time module to do that.
You can first put import time at the beginning of your code to load it.
Then, you can put time.sleep(1) wherever you want in your code to wait for 1 second.
Please upvote this comment if it was helpful or useful in any way

Profile icon
ArmedWithStew

@mat1 yeah that works for me.

Profile icon
VidyutRaghurama

works for me

Profile icon
-Fireweed-

Thanks it works

Profile icon
-Fireweed-

Thanks it works!

Profile icon
ThingGaming

Thanks!