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