Advertisement
ssoni

countdown.py

Nov 2nd, 2023
960
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. import time
  2.  
  3. x=int(input('Start at what number? '))
  4. while x>=1:
  5.     print(x)
  6.     x=x-1
  7.     time.sleep(1)
  8. print ('blast off!')
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement