Source Code:
(back to article)
list1 = [1, 2, 3] list2 = ['a', 'b', 'c'] for item1, item2 in zip(list1, list2): print(item1, item2) # Output: # 1 a # 2 b # 3 c
Result:
Report an issue