In [1]:
for i,j in enumerate('abc'):
    print(i,j)


0 a
1 b
2 c

In [ ]: