i=['a','b']
l=[1,2]
print (dict([i,l]))
python基本算法合集(18)——列表转换为字典
猜你喜欢
转载自blog.csdn.net/weixin_43115314/article/details/114638961
今日推荐
周排行