python loop over list enumerate code example
Example: python3 iterate through indexes
items=['baseball','basketball','football']
for index, item in enumerate(items):
print(index, item)
items=['baseball','basketball','football']
for index, item in enumerate(items):
print(index, item)