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

What will be the output of the following Python code?
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]
 

Tìm kiếm

Back
Top