merge two dictionaries with same keys python code example Example: join two dictionaries python z = {**x, **y}