Answers for "how to stop for time loop python"

7

how to stop python for some time in python

import time
print("This is how to pause a program")
time.sleep(5)
print("Did you saw that i slept for 5 seconds")
Posted by: Guest on July-27-2021
3

how to stop python for some time in python

import time
How_long = 5
time.sleep(How_long)
print("Look I got printed after 5 seconds")
Posted by: Guest on August-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language