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.
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.