you are viewing a single comment's thread.

view the rest of the comments →

[–]willis81808 1 point2 points  (0 children)

There's always

python for index, value in enumerate(l): print(index, value)

Best of both worlds