join a dictionary python code example Example 1: merge two dict python 3 z = {**x, **y} Example 2: python added dictionary together dic0.update(dic1)