Write without(d, key) that returns a new dictionary without key (unchanged if the key is missing).
without({'a': 1, 'b': 2}, 'a')
→ {'b': 2}without({'a': 1}, 'z')
→ {'a': 1}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.