Skip to content

yachikadev/Expense-Splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Expense Splitter 💸

Split bills with friends — no more awkward calculations!

Python OOP


About

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.


OOP Concepts Used

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

Sample Output

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

What I Learned

  • 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

Tech Used

Python 3 — no external libraries needed!


Made with love as part of my Python learning journey 🚀

Author

Yachika Sharma@yachikadev

About

A Python-based bill splitting application — tracks shared expenses, calculates individual balances, and shows who owes whom using OOP principles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages