merge 3 dictionaries with the same key code example Example 1: join two dictionaries python z = {**x, **y} Example 2: merge two dict python 3 z = {**x, **y}