LLD - Design — Online Shopping Cart
Given the following inventory update code snippet, what will be the final quantity of 'banana'?
inventory = {'apple': 10, 'banana': 5}
inventory['banana'] += 3
inventory['apple'] -= 2
