"""
dictionary update()

"""

mydict={'key1': 1, 'key2': 2, 'key3': 3}

d1 = {'key3': 33}

mydict.update(d1)
print(mydict)


d1 = {'key3': 33, 'key4': 4}

mydict.update(d1)
print(mydict)




d = {'x': 2}

d.update(y = 3, z = 0)
print(d)