python merge multiple dictionaries with same keys code example
Example 1: join two dictionaries python
z = {**x, **y}
Example 2: merge multile dict
dict1 = {"a":1, "b":2}
dict2 = {"x":3, "y":4}
merged = {**dict1, **dict2}
print(merged) # {'a': 1, 'b': 2, 'x': 3, 'y': 4}