python基本算法合集(18)——列表转换为字典

i=['a','b']
l=[1,2]
print (dict([i,l]))

猜你喜欢

转载自blog.csdn.net/weixin_43115314/article/details/114638961