Core Python Programming Assignment
This repository contains solutions to the Core Python Programming Assignment, covering various scenarios to practice Python programming, including functions, classes, and modular coding.
📂 Repository Structure
File Description E-Commerce_Cart_System.py : Calculates total price of items in a cart, with discount logic for more than 5 items. Restaurant_Menu_Management.py : Manages a restaurant menu: add, remove, and check items. Classroom_Performance_Tracker.py Tracks student performance, calculates averages, and identifies top performers. Movie_Ticket_Booking_System.py Manages seat booking and cancellation for a cinema hall. Hospital_Patient_Management.py Manages patient records and allows searching by disease. Customer_Feedback_Analysis.py Analyzes customer feedback ratings and calculates positive feedback percentage. Taxi_Fare_Calculation.py Calculates taxi fares based on base fare and distance for multiple trips.
💻 Features
E-Commerce Cart System : Calculates total cart price, applies discounts for large carts.
Restaurant Menu Management : Add, remove, and check menu items.
Classroom Performance Tracker : Computes student averages and identifies the top performer.
Movie Ticket Booking System : Tracks available and booked seats; handles booking and cancellations.
Hospital Patient Management : Stores patient data and searches patients by disease.
Customer Feedback Analysis : Calculates percentage of positive feedback.
Taxi Fare Calculation : Calculates fare for multiple trips including base and distance fare.
📝 How to Run
Clone the repository:
git clone https://github.com/AddulaSony/core-python-assignment.git
Navigate to the repository folder:
cd core-python-assignment
Run any Python program:
python E-Commerce_Cart_System.py
⚙️ Requirements
Python 3.x installed on your system.
🔹 Notes
Each program is modular and uses functions for clear structure.
Optional use of classes where applicable.
Edge cases are handled (empty inputs, invalid actions).
Proper documentation and comments included.
📌 Author
Sony Reddy Addula – Core Python Programming Assignment