does python have for loops 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)