7 lines
No EOL
176 B
Python
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 |