Merge Lists into List of Tuples in Python | Kovolff
Channel: prelearn
Date: 26/09/2020

Merging multiple lists into a list of tuples works in two stages.

First create a zip object, by zipping the lists:
i.e. merged_object = zip(list_a, list_b, lict_c)

To convert that object into a list
merged_list = list(merged_object)
or directly
merged_list = list(zip(list_a, list_b, lict_c))

#python #lists #tuples