python for loop range backwards code example Example: python for loop backwards for i in range(len(item)-1, -1, -1): print(item[i])