enumerate vs zip python same time

Solutions on MaxInterview for enumerate vs zip python same time by the best coders in the world

showing results for - "enumerate vs zip python same time"
Gabriel
29 Jan 2017
1alist = ['a1', 'a2', 'a3']
2blist = ['b1', 'b2', 'b3']
3
4for i, (a, b) in enumerate(zip(alist, blist)):
5    print i, a, b