Answers for "sleeping code python"

33

py sleep function

import time

print("Print now")
time.sleep(4.2)
print("Printing after 4.2 seconds")
Posted by: Guest on July-27-2020
11

delay time python

import time

time.sleep(5) # sleeps for 5 seconds
Posted by: Guest on June-16-2020

Code answers related to "sleeping code python"

Python Answers by Framework

Browse Popular Code Answers by Language