keys = ['a', 'b', 'c'] values = [1, 2, 3] dictionary = dict(zip(keys, values)) print(dictionary) # {'a': 1, 'c': 3, 'b': 2} 本栏目推荐文章Python学习笔记python字典的使用python字符串方法python列表和元组使用介绍python | 小游戏 开局托儿所 自动化脚本 pyautoguipython中的Map和Filterpython-爬元气桌面壁纸python中的*args**和**kwargsPython教程(23)——Python类中常用的特殊成员linux环境Python安装字典 两个 Python list dict字典 两个python list 字典 两个 方法dict 字典 基础python dict 字典python dict 字典python tuple dict 字典python dict py python字典 教程dict list_tuple_dict_set python_mooc_stu python tuple python字典dict has 字典dict