Python把两个列表合成一个字典

简单粗暴上代码

A= []
B = []
C= dict(map(lambda x,y:[x,y],A,B))

酱紫,就合成了一个字典

posted @ 2018-03-22 20:37  嶙羽  阅读(2403)  评论(0编辑  收藏  举报