for loop in pythion 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 item in ['mosh','john','sarah']:
print(item)
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
for item in ['mosh','john','sarah']:
print(item)