Is there a way in python to perform the same function as enumerate()
but with letters instead?
For example
x = ['block', 'cheese']
for i, word in enumerate(x):
print((i, word))
would produce
(1, 'block')
(2, 'cheese')
Is there a straightforward way to produce this?
('A', 'block')
('B', 'cheese')