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 1444 times
Edit
8
Community EvaluationsNo one has reviewed this question yet, be the first!