📅  最后修改于: 2022-03-11 14:45:15.361000             🧑  作者: Mango
代码示例3
z = {1: 'One', 2: 'Two'}
x = {0: 'zero', 1: 'one'}
x.update(z) # adds anything new to the dict
print(x)
{0: 'zero', 1: 'One', 2: 'Two'}