dic1 = {'a': 1, 'c': 6} dic2 = {'d': 6, 'r': 2, 'l': 3} print(dic1 | dic2) # furthermore, there is print({**dic1, **dic2})