To make a time delay use this syntax:
import time
time.sleep(3) # Delays for 3 seconds. Float value can also be used.
I am attaching one more example where you can run something in approximately three minutes:
import time
while True:
print("This prints once a minute.")
time.sleep(180) # Delay for 3 minute (180 seconds).
Hope this helps. Cheers..!!