here is my code:
A = {1 : "one", 2 : "two"} B = {2 : "dva", 3 : "three"} d = {} for key in set(list(A.keys()) + list(B.ke