for loop pythob code example
Example: python for loop
#an object to iterate over
items = ["Item1", "Item2", "Item3", "Item4"]
#for loop using range
for i in range(len(items)):
print(items[i])
#for loop w/o using range
for item in items:
print(item)