Skip to content
← Back to Community
How do I make the system wait a few seconds in python?
Profile icon
Jolel13

I'm making a text based game but I don't know how I make the system wait for a few seconds before it reads the next line

Answered by Haaruun [earned 5 cycles]
View Answer
Voters
Profile icon
Jolel13
Comments
hotnewtop
Profile icon
Haaruun

you can import the time module then use sleep:

from time import sleep sleep(1) # seconds
Profile icon
WowisKinG

@Haaruun you were a huge help