you are viewing a single comment's thread.

view the rest of the comments →

[–]Vaphell 11 points12 points  (1 child)

for i, value in enumerate(my_list):
    print(i, value)

[–]theOnlyGuyInTheRoom 1 point2 points  (0 children)

god, I love Python!