LLD - Design — Online Shopping Cart
What is the issue with the following inventory update code snippet?
inventory = {'eggs': 12}
inventory['eggs'] -= 4
inventory['cheese'] = inventory['cheese'] + 3
