If you are interested see the dictionary docs (https://docs.python.org/3/builtins/stdtypes.html#dict):
d |= other Update the dictionary d with keys and values from other, which may be either a mapping or an iterable of key/value pairs. The values of other take priority when d and other share keys. Added in version 3.9.
Pick your answer and check the Solution link.