Scenario
Inventory Management
๐ Context
You manage inventory for a small store with 6 products across 3 warehouse locations. You need to track stock levels, find shortages, and calculate reorder quantities.
1
2
3
Step 1: Stock Levels
๐ฏ Task
Create stock โ a (3, 6) array representing 3 warehouses ร 6 products:[[50,0,30,100,15,80],[20,45,0,60,5,35],[0,25,55,40,0,90]]
Create product_names = ['Widget','Gadget','Gizmo','Doohickey','Thingamajig','Whatchamacallit']. Print stock.
np.array for stock, np.array for names
โโ run ยท โโ โ nav
โถ Output
Run your code to see output here.