我有一个名字列表:
['john smith', 'sally jones', 'bob jones']
我想以以下格式构建一个字典:
{'john smith': [], 'sally jones': [], 'bob jones': []}
这就是我尝试使用 zip 时发生的情况
zip((all_crew_names, [[] for item in all_crew_names]))
[(['john smith', 'sally jones', 'bob jones'],), ([[], [], []],)]
我在这里做错了什么,我该如何正确压缩它?