Answers for "sleep in python how does it works and how to use it"

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

Python Answers by Framework

Browse Popular Code Answers by Language