Skip to content

pranavsinghal77/python-assignment-part2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors