The time Module

Reference:

Use the time module to introduce pauses into your program:

from time import sleep

print("START")
sleep(4) # (where 4 is the number of seconds to pause)
print("END")

Last updated