# 0211.py d=dict(a=1,b=2) d1=dict(b=300,x=4,y=5) d.update(d1); print (d) # {'a': 1, 'y': 5, 'b': 300, 'x': 4}