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("min=",t//60,"sec=",t%60)
- t -= 1
- sleep(1)
- countdown(120)
- print("game over")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement