1 2 3 4 5 6 7 8
i = 'init' for i in range(0): pass print(i) # should not have been modified for i in range(10): pass print(i) # should be last successful value of loop