""" Purpose: making sure repeated assignment makes sense """ # define an iterator variable named i, and initialize it to 0 i = 0 print( "i:", i ) print() # increment i by one (for the first time) i = i + 1 # i's new value is its current value plus 1 print( "i:", i ) print() # increment i by one (for a second time) i = i + 1 # i's new value is its current value plus 1 print( "i:", i ) print() # increment i by one (for a third time) i = i + 1 # i's new value is its current value plus 1 print( "i:", i ) print() # increment i by one (for a fourth time) i = i + 1 # i's new value is its current value plus 1 print( "i:", i ) print() # increment i by one (for a fifth time) i = i + 1 # i's new value is its current value plus 1 print( "i:", i ) print()