simple loop python code example
Example 1: python for loop
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
Example 2: python for loop
for number in range(10):
print(number)
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
for number in range(10):
print(number)