>>> x = ['a', 'b', 'c']

>>> y = [1 ,2 ,3]

>>> dict(zip(x,y))

{'a': 1, 'c': 3, 'b': 2}

>>> y = [1 ,2 ,3]

>>> dict(zip(x,y))

{'a': 1, 'c': 3, 'b': 2}

We can also zip the two lists together, as list of tuples, and use the dict() constructor for the iterator of that list.

>>> x = ['a', 'b', 'c']

>>> y = [1, 2, 3]

>>> dict(iter(list(zip(x, y))))

{'a': 1, 'c': 3, 'b': 2}

>>> y = [1, 2, 3]

>>> dict(iter(list(zip(x, y))))

{'a': 1, 'c': 3, 'b': 2}