fol 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
nums = ['one', 'two', 'three']
for elem in nums:
print(elem)
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
nums = ['one', 'two', 'three']
for elem in nums:
print(elem)