I want to merge two dictionaries into a single dictionary with only common keys between the two.
Here are the two dictionaries
{"a": 5, "b": 8, "d": 9, "z": 4}
{"a": 1, "b": 1, "d": 2, "e": 1}
The result that I want is:
{"a": 6, "b": 9, "d": 11}
Do you guys know any way to do this?