2011-01-09 zipしたのをenumerate Python 以前友達から教えてもらった。 l1 = [2,3,4] l2 = ['a', 'b', 'c'] for i,(n,c) in enumerate(zip(l1, l2)): print i,n,c