0 / 34
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
exercise.py
โŒ˜โŽ run ยท โŒ˜โ† โ†’ nav
โ–ถ Output
Run your code to see output here.