What goes in the blank?
# walk two lists together
for a, b in ____(xs, ys):
print(a, b)
Answer: zip
zip stops at the shorter input and yields tuples of matching positions.# walk two lists together
for a, b in ____(xs, ys):
print(a, b)
Answer: zip
zip stops at the shorter input and yields tuples of matching positions.