Merge dictionaries
Merges two or more dictionaries.
- Create a new
dict
and 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.