dict = {
"name": "Tom",
"age": 47,
"langauge": "python",
"company": "microsoft"}
anotherdict = {"state": 'usa', "X": 18}
print(dict)
dict.update(anotherdict)
print(dict)
print(anotherdict)
'''
run:
{'name': 'Tom', 'age': 47, 'langauge': 'python', 'company': 'microsoft'}
{'name': 'Tom', 'age': 47, 'langauge': 'python', 'company': 'microsoft', 'state': 'usa', 'X': 18}
{'state': 'usa', 'X': 18}
'''