<filename>Python How to/Python How to/06_HowTo_Print_1_To_10_by_every_second/main.py

#How to Print 1 to 10 by every Second


from time import sleep
for i in range(10):
    print(i+1)
    sleep(1)
    
<filename>Python How to/Python How to/06_HowTo_Print_1_To_10_by_every_second/main.py

#How to Print 1 to 10 by every Second


from time import sleep
for i in range(10):
    print(i+1)
    sleep(1)
    
#How to Print 1 to 10 by every Second