how to to join two dict code example Example 1: join two dictionaries python z = {**x, **y} Example 2: merge two dict python 3 z = {**x, **y}