Answers for "python wait n second"

4

making a function wait in python

from time import sleep

>>> sleep(4)
Posted by: Guest on September-23-2020
4

python wait for x seconds

import time
x = 1 # Put in whatever seconds you want it to wait
time.sleep(x)
Posted by: Guest on July-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language