#adding using update() method dict1 = { key1 : value1 } dict2 = { key2 : value2 } dict1.update(dict2) print(dict1) #output = { key1 : value1, key2 : value2 }