题解 | #生成字典#
生成字典
https://www.nowcoder.com/practice/f3b6bfd4a411431b96f08bd153a51659
i = input().split() j = input().split() mydict={} for x in range(0,len(i)): mydict[i[x]]=j[x] print(mydict)
生成字典
https://www.nowcoder.com/practice/f3b6bfd4a411431b96f08bd153a51659
i = input().split() j = input().split() mydict={} for x in range(0,len(i)): mydict[i[x]]=j[x] print(mydict)
相关推荐