Name: Pranav Singhal Student ID: BITSoM_BA_2511208
This assignment builds a Restaurant Menu & Order Management System using Python dicts, lists, sets, and nested data structures.
| File | Description |
|---|---|
part2_order_system.ipynb |
Main notebook with all 4 tasks |
- Task 1 — Menu exploration (grouped display, dict methods, set operations)
- Task 2 — Cart operations (
add_to_cart,remove_from_cart,update_quantitywith guard checks) - Task 3 — Order summary with 5% GST,
copy.deepcopy()demonstration, stock deduction & reorder alerts - Task 4 — Sales log analysis (revenue by item, total revenue,
enumerate()over all orders)
- Open
part2_order_system.ipynbin Jupyter Notebook or JupyterLab - Run Kernel → Restart & Run All
- No interactive inputs — all cells run fully automatically
- Python 3.8+
- No external packages required (pure Python)