To loop over a sequence in reverse, first specify the sequence in a forward direction and then call the reversed() function.
E.g.
>>> for i in reversed(range(1, 10, 1)):... print(i)...987654321