Project Report
Student Details
Name: Sunny Mehar
College: Lakhmi Chand Institute of Technology, Bilaspur
Semester: 5th
Batch: 2023-2027
Certification Details
Course: Programming with Python (Internshala)
Duration: 6-week online training
Modules Covered:
- Introduction to Python
- Using Variables
- Basics of Programming
- OOP (Object-Oriented Programming)
- Connecting to SQLite Database
- GUI with PyQt
- Applications of Python in different fields
- Final Project
- AI in Programming with Python
Score: 93% (Top Performer 🎉)
Date of Certification: 8 Aug 2025
Certificate No.: fueiat985o9
Verification Link: Internshala Verify
Project Title
Billing System for a Small Shop using Python
Objective
The main objective of this project is to design a simple billing system for a small shop. It
allows the user to add products, calculate the total, and generate a bill. The project
demonstrates the practical application of Python programming in real-life scenarios.
Software and Hardware Requirements
- Python 3.x
- Any text editor (VS Code, PyCharm, or IDLE)
- Basic hardware: Laptop/Desktop with Windows/Linux/MacOS
Step-by-Step Implementation
1. Create a folder named shop_billing_system
2. Inside the folder, create a Python file named main.py
3. Write the billing system code in main.py
4. Run the project using terminal/command prompt
5. Add items, view bill, and generate output
Source Code
cart = []
def add_product():
name = input("Enter product name: ")
price = float(input("Enter price: "))
qty = int(input("Enter quantity: "))
total = price * qty
item = {"name": name, "price": price, "qty": qty, "total": total}
cart.append(item)
print(f"{qty} x {name} added to cart ✅")
def show_bill():
print("\n--- Your Bill ---")
grand_total = 0
for i, item in enumerate(cart, start=1):
print(f"{i}. {item['name']} - ₹{item['price']} x {item['qty']} = ₹{item['total']}")
grand_total += item['total']
print("----------------------------")
print(f"Grand Total: ₹{grand_total}")
def main():
while True:
print("\n1. Add Product")
print("2. Show Bill")
print("3. Exit")
choice = input("Enter choice (1/2/3): ")
if choice == '1':
add_product()
elif choice == '2':
show_bill()
elif choice == '3':
print("Exiting...")
break
else:
print("Invalid option!")
main()
Sample Output
1. Add Product
2. Show Bill
3. Exit
Example:
Product: Pen, Price: 10, Quantity: 3 → Bill: ₹30
Conclusion
This project successfully demonstrates the use of Python for developing a real-world
application. The billing system is simple, easy to understand, and useful for small shops. It
also showcases the student’s ability to apply programming knowledge in practical
scenarios.