Task: Modifying the Entire Series
Uppgift
Swipe to start coding
At Café Pandasia, the manager has decided to run a 10% off sale on all their coffee beans. Your job is to update the inventory to reflect this sale by applying the 10% discount to the coffee bean stock.
- Decrease all the prices in
coffee_inventory
by 10%. Use a single operation.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 12