Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # It's the final countdown!
- from time import sleep
- def countdown(n):
- if n <= 0:
- print "Ready to go - Blastoff!"
- else:
- print n
- sleep(1)
- countdown(n-1)
- countdown(10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement