zip list1=[1,2,3] list2=['a','b','c'] dict(zip(list1,list2)) {1: 'a', 2: 'b', 3: 'c'}
列表转字典
猜你喜欢
转载自www.cnblogs.com/Liang-jc/p/8921535.html
今日推荐
周排行