So this is my code. I was trying out the zip function and I wanted to print out the tuple but I end up getting nothing.
list_one = [1,2,3]
list_two = [4,5,6]
new_list = zip(list_one, list_two)
for i, k in new_list:
print(i, k, end = ' ')
print()
print(tuple(new_list))
This is the output.
1 4 2 5 3 6
()
why does it just return ()
and not the tuple with tuples inside? That is what I would expect. Thank you in advance.