📜  从键和值创建字典 python 代码示例

📅  最后修改于: 2022-03-11 14:46:36.906000             🧑  作者: Mango

代码示例1
#creating dictionary from keys sequence and value sequence
k=(12,13,14,15,16)
v=(20,21,22,23,24)
d3=dict(zip(k,v))
print(d3)