What goes in the blank?
# pair each element of a with the matching one in b pairs = list(____(a, b))
Answer: zip
zip() yields tuples pairing items from each iterable, stopping at the shortest.
Play Problem Solving ▸
# pair each element of a with the matching one in b pairs = list(____(a, b))
Answer: zip