ChamplainTechJournals/python-csi160/week06/week6practiceproblems/part1.py
2025-04-19 23:42:08 -04:00

7 lines
No EOL
176 B
Python

#1 initialize the loop
x = int(input('What number do you want to start at? '))
# Print countdown using while loop with one number per line
while x > 0:
print(x)
x -= 1