两个列表转化成字典

d = ['a','b','c'] print(type(d)) c = ['开心','愉快','高兴'] print(type(c)) a = dict(zip(d,c)) print(type(a)) print(a)
相关文章
相关标签/搜索