zip
zip stops at shortest iterable.
a = [1,2,3]; b = ['a','b','c']
pairs = list(zip(a, b)) # [(1,'a'),(2,'b'),(3,'c')]
zip stops at shortest iterable.
a = [1,2,3]; b = ['a','b','c']
pairs = list(zip(a, b)) # [(1,'a'),(2,'b'),(3,'c')]