EasyOutput prediction

zip() stops at the shortest

What does this code print?

a = [1, 2, 3]
b = ["x", "y"]
for x, y in zip(a, b):
    print(x, y)

← → arrow keys to navigate

Sign in to save your progress.

zip() stops at the shortest - Python Control Flow Quiz | Unnested