how to do decrement for loop in python code example Example: for decrement python for x in range(10,0,-1): print(x)