In a loop some values perform an operation python code example
Example 1: python for loop
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
Example 2: how to use iteration in python
n = 5
while n > 0:
print n
n = n-1
print 'Blastoff!'