Split bills with friends — no more awkward calculations!
A Python project that splits expenses between friends fairly. Add members, add expenses, and instantly see who owes how much — built using Object Oriented Programming.
| Class | Role |
|---|---|
Person |
Stores name & balance. Tracks how much each person owes or is owed. |
Expenses |
Stores expense details — who paid, how much, and who splits it. |
Group |
Manages all members & expenses. Calculates final balances. |
Key concepts:
__init__and__str__dunder methods- Object Composition — Expense HAS-A Person
- Lists and loops with objects
Lunch - ₹2000 paid by Yachika, split between 3 people
Chai & Snacks - ₹900 paid by Sumit, split between 3 people
balance of Yachika is 1033.33
balance of Sumit is -66.67
balance of Raj is -966.67
- Classes and objects in Python
__init__and__str__methods- Object Composition (Expense HAS-A Person)
- Lists and loops with objects
- Real-world problem solving with OOP
Python 3 — no external libraries needed!
Made with love as part of my Python learning journey 🚀
Yachika Sharma — @yachikadev