dict(zip(list1, list2)) creates a dictionary from two lists.
— Daily Python Tip (@python_tip) September 13, 2018
Example:
>>> keys = ['red', 'green', 'blue']
>>> values = ['#FF0000','#008000', '#0000FF']
>>> color_dictionary = dict(zip(keys, values)) pic.twitter.com/rYjtdkGvaz