how to make a dictionary using two lists and zip them code example Example: python 3 how to set a dictionary from two lists mydict = dict(zip(list1, list2))