Write restock(stock, item, qty) that returns a new dictionary where qty is added to item (start from 0 if the item is new).
restock({'pen': 5}, 'pen', 3)
→ {'pen': 8}restock({'pen': 5}, 'ink', 2)
→ {'pen': 5, 'ink': 2}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.