Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import sleep
- def countdown(t):
- while t > 0:
- print(t)
- t -= 1
- sleep(1)
- countdown(10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement