Q97
What will be the output of the following Python code? l1=[1,2,3] l2=[4,5,6] l3=[7,8,9] for x, y, z in zip(l1, l2, l3): print(x, y, z)
A.
1 4 7
2 5 8
3 6 9
Answer2 5 8
3 6 9
B.
(1 4 7)
(2 5 8)
(3 6 9)
(2 5 8)
(3 6 9)
C.
[(1, 4, 7), (2, 5, 8), (3, 6, 9)]
D.
Error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board