How do I enumerate two lists of equal length simultaneously? I am sure there must be a more pythonic way to do the following:
for index, value1 in enumerate(
from itertools import count for index, value1, value2 in zip(count(), data1, data2): print(index, value1, value2)
Source: http://www.saltycrane.com/blog/2008/04/how-to-use-pythons-enumerate-and-zip-to/#c2603