Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.01 KB

File metadata and controls

32 lines (21 loc) · 1.01 KB

Part 2 — Data Structures

Name: Pranav Singhal Student ID: BITSoM_BA_2511208

Overview

This assignment builds a Restaurant Menu & Order Management System using Python dicts, lists, sets, and nested data structures.

Files

File Description
part2_order_system.ipynb Main notebook with all 4 tasks

Tasks Covered

  • Task 1 — Menu exploration (grouped display, dict methods, set operations)
  • Task 2 — Cart operations (add_to_cart, remove_from_cart, update_quantity with 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)

How to Run

  1. Open part2_order_system.ipynb in Jupyter Notebook or JupyterLab
  2. Run Kernel → Restart & Run All
  3. No interactive inputs — all cells run fully automatically

Requirements

  • Python 3.8+
  • No external packages required (pure Python)