Reference:
https://docs.python.org/3/library/time.html
Use the time module to introduce pauses into your program:
time
from time import sleep print("START") sleep(4) # (where 4 is the number of seconds to pause) print("END")
Last updated 5 years ago