Merge dictionaries
Merges two or more dictionaries.
- Create a new
dictand loop overdicts, usingdictionary.update()to add the key-value pairs from each one to the result.
Merges two or more dictionaries.
dict and loop over dicts, using dictionary.update() to add the key-value pairs from each one to the result.