Merge Settings
Easy · Dictionaries
The | operator merges two dicts into a new one: a | b. When both have the same key, the value from the right side wins. The original dicts are not changed.
Write a function merge(defaults, overrides) that returns a new dict with all keys from both, where values from overrides replace those in defaults.
Next: Common Items