step을 -1로 주어서 N부터 0까지 1씩 줄어들며 숫자들을 출력한다.
N = int(input()) for i in range(N, -1, -1): print(i, end = ' ') i -= 1