programming-examples/python/Date/Print a string five times, delay three seconds.py

7 lines
170 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import time
x=0
print("\nw3resource will print five times, delay for three seconds.")
while x<5:
print("w3resource")
time.sleep(3)
x=x+1