pythhon for loop code example
Example 1: for loop in python
for x in range(6):
print(x)
Example 2: python for loop
nums = ['one', 'two', 'three']
for elem in nums:
print(elem)
for x in range(6):
print(x)
nums = ['one', 'two', 'three']
for elem in nums:
print(elem)