Skip to content

How to set delay in Python?

import time
time.sleep(10)   # Delays for 10 seconds. You can also use a float value.
See also  How to define functions in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.