两个列表合成字典

2021-04-26  本文已影响0人  Noza_ea8f
l1=['a','b','c','d','e']
l2=[1,2,3,4,5]
d=dict(zip(l1,l2))
print(d)
上一篇 下一篇

猜你喜欢

热点阅读