How to print out a numbered list in Python 3 -
how print out index location of each of python list starts @ 1, rather 0. here's idea of want like:
blob = ["a", "b", "c", "d", "e", "f"] in blob: print(???)
output:
1 2 b 3 c 4 d 5 e
what need know how numbers show alongside i'm trying print out? can a-e printed out no problem, can't figure out how number list.
for a, b in enumerate(blob, 1): print '{} {}'.format(a, b)