python-by-example-150-chall.../challenges35-44/challenge-040.py

4 lines
97 B
Python
Raw Permalink Normal View History

2019-07-17 14:56:46 +08:00
number = int(input('Enter a number below 50 : '))
for i in range(50, number-1, -1):
print(i)