how to make for loop python code example
Example 1: for loop in python
for x in range(6):
print(x)
Example 2: python for loop
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)
for x in range(6):
print(x)
words=['zero','one','two']
for operator, word in enumerate(words):
print(word, operator)