Q41
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
4, -4
6, -6
B.
[(2, -2), (4, -4), (6, -6)]
C.
(2, -2)
(4, -4)
(6, -6)
Answer(4, -4)
(6, -6)
D.
[-4, -16, -36]
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board