#sleep() is in seconds import time print("Before the sleep statement") time.sleep(5) #wait 5 seconds print("After the sleep statement")