Question from the Python - Fundamentals test

Use the zip() function to iterate over two lists in parallel.

Medium

What is the output of the following code ?

a = [1, 2]
b = ['a', 'b', 'c']
for item in zip(a, b):
	print(item)
Author: ThéoStatus: PublishedQuestion passed 1506 times
Edit
9
Community EvaluationsNo one has reviewed this question yet, be the first!