I am new with Python and I don't know how to use the reverse function with range without 0 because I want to make a program to print descending numbers . I tried this one but it doesn't work :
a = int(input())
for i in reversed(range( a, 1)):
print(i)
a = int(input())
for i in reversed(range( a, 1)):
print(i)
Comment