利用zip函数将两个列表(list)组成字典(dict) keys = ['a', 'b', 'c'] values = [1, 2, 3] dictionary = dict(zip(keys, values)) print(dictionary) 结果如图1 图1