In [70]: test=dict(x=1,y=2,z=3) In [71]: test Out[71]: {'x': 1, 'y': 2, 'z': 3} In [72]: a=['a','b','c'] In [73]: b=[1,2,3] In [74]: zip(a,b) Out[74]: [('a', 1), ('b', 2), ('c', 3)] In [75]: dict(zip(a,b)) Out[75]: {'a': 1, 'b': 2, 'c': 3} dict.clear…