Write add_entry(d, key, value) that returns a new dictionary with all of d plus key: value.
add_entry({'a': 1}, 'b', 2)
→ {'a': 1, 'b': 2}add_entry({}, 'x', 0)
→ {'x': 0}Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.