python dict combine code example Example 1: python join dict dict.update([other]) Example 2: merge two dict python 3 z = {**x, **y}