In a Python for loop that iterates over a list we can write:
for
for item in list: print item
and it neatly goes through all t
The pythonic way is to use enumerate:
for idx,item in enumerate(list):