>>> zip()
<zip object at 0x0000029B69DA4040>
>>> zip([1, 2, 3], [4, 5, 6], [7, 8, 9])
<zip object at 0x000001A17357D140>
>>> list(zip([1, 2, 3], [4, 5, 6], [7, 8, 9]))
[(1, 4, 7), (2, 5, 8), (3, 6, 9)]
>>> tuple(zip([1, 2, 3], [4, 5, 6], [7, 8, 9]))
((1, 4, 7), (2, 5, 8), (3, 6, 9))
>>> tuple(zip(zip([1, 2, 3], [4, 5, 6], [7, 8, 9])))
(((1, 4, 7),), ((2, 5, 8),), ((3, 6, 9),))
>>> tuple(zip([1, 2, 3]))
((1,), (2,), (3,))
>>> for i in tuple(zip(["Sunday", "Monday", "Tuesday"], [0, 1, 2])):
print(i)
('Sunday', 0)
('Monday', 1)
('Tuesday', 2)
>>> for week, num in tuple(zip(["Sunday", "Monday", "Tuesday"], [0, 1, 2])):
print(num, "->", week)
0 -> Sunday
1 -> Monday
2 -> Tuesday