Write a Python Program to Map Two Lists into a Dictionary


Topic: Write a Python Program to Map Two Lists into a Dictionary

Solution

def map_dict(keys, values):
    return dict(zip(keys,values))



List all Python Programs