Answers for "sleep in python 3.8"

33

sleep in py

import time

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

wait in python

#Wait in python
#Module required - time
import time
#Wait in for the time you put
time.sleep(0.5)
print('Wait in python')
Posted by: Guest on October-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language