
items = ['first item', 'second item', 'third item', 'n item']

for i in items:
    print(i) # i matches the previous i

# Same output, different names

for item in items:
    print(item) 
    # The name you use to iterate an object doesn't
    # matter
    
for number in range(20):
    print(number+1)
    # Returns numbers from 1 to 20
    


items = ['first item', 'second item', 'third item', 'n item']

for i in items:
    print(i) # i matches the previous i

# Same output, different names

for item in items:
    print(item) 
    # The name you use to iterate an object doesn't
    # matter
    
for number in range(20):
    print(number+1)
    # Returns numbers from 1 to 20
    

# i matches the previous i # Same output, different names # The name you use to iterate an object doesn't # matter # Returns numbers from 1 to 20