a = ['a', 'b', 'c', 'd']b = [1, 2, 3]mydict = dict(zip(a,b))print(mydict)
#输出的结果为:{'a': 1, 'b': 2, 'c': 3}