fruits = ["apple", "banana", "cherry", "date"] for index, fruit in enumerate(fruits): print(index, fruit)
0 apple 1 banana 2 cherry 3 date