l1=['a','b','c','d','e'] l2=[1,2,3,4,5] d=dict(zip(l1,l2)) print(d)
两个列表合成字典
猜你喜欢
转载自blog.csdn.net/weixin_42141853/article/details/80516919
今日推荐
周排行