Examveda

What will be the output of the following Python code?
l1=[2,4,6]
l2=[-2,-4,-6]
for i in zip(l1, l2):
	print(i)

A. 2, -2
4, -4
6, -6

B. [(2, -2), (4, -4), (6, -6)]

C. (2, -2)
(4, -4)
(6, -6)

D. [-4, -16, -36]

Answer: Option C


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python