python merge two dictionaries with same keys code example Example: concatenate two dictionnaries python d1.update(d2)