python for loop counter

for index, item in enumerate(items):
    print(index, item)

Here is what the above code is Doing:
1. We create a list of items.
2. We use a for loop to iterate through the list.
3. We use the enumerate function to get the index of each item in the list.
4. We print the index and the item.