$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #254

What goes in the blank?

# walk two lists together
for a, b in ____(xs, ys):
    print(a, b)

Answer: zip (also accepted: zip, zip())

zip stops at the shorter input and yields tuples of matching positions.
Play Problem Solving ▸