keys = ['a', 'b', 'c']
values = [1, 2, 3]
dictionary = dict(zip(keys, values))
print(dictionary)
输出:
{'a': 1, 'c': 3, 'b': 2}
keys = ['a', 'b', 'c']
values = [1, 2, 3]
dictionary = dict(zip(keys, values))
print(dictionary)
输出:
{'a': 1, 'c': 3, 'b': 2}