How to import time and sleep on Python

Posted on: October 12th, 2022
By: Tadeo Martinez

import time
from time import sleep

time.sleep(60)

If you only do import time from time, it won’t work.

For me it works when you import time and then sleep

Have any questions or comments? Write them below!


Leave a Reply

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