python append 2 dictionaries update keys code example Example: join two dictionaries python z = {**x, **y}