What will be the output of the following Python code? [code]l1=[1,2,3] l2=[4,5,6] l3=[7,8,9] for x, y, z in zip(l1, l2, l3): print(x,

What will be the output of the following Python code?
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
B.
(1 4 7)
(2 5 8)
(3 6 9)
C. [(1, 4, 7), (2, 5, 8), (3, 6, 9)]
D. Error
 

Tìm kiếm

Back
Top