Run »
x = ('apple', 'banana', 'cherry') y = enumerate(x) print(list(y))
[(0, 'apple'), (1, 'banana'), (2, 'cherry')]