python join 2 dictionaries by key code example Example: concatenate two dictionnaries python d1.update(d2)