A Python program to calculate and split shared living expenses (rent, food, electricity) per person.
A simple Python program to calculate and split shared living expenses among multiple people. This project helps determine how much each person needs to pay based on rent, food, and electricity usage.
- Calculate total electricity bill
- Combine rent, food, and electricity costs
- Split expenses evenly between all members
- Clean and readable output format (Rp currency)
The program takes several inputs:
- Rent cost
- Food expenses
- Electricity usage (in units)
- Charge per unit
- Number of people Then it calculates:
- Total electricity bill
- Total overall expenses
- Cost per person
`` ===== BILL SUMMARY ===== Total Rent : Rp1,000,000 Total Food : Rp500,000 Electricity Bill : Rp150,000
Total Cost : Rp1,650,000 Each Person Pays : Rp412,500.00
---
## How to Run
1. Make sure Python is installed
2. Run the script:
python rent_calculator.py
---
## Use Case
Perfect for:
* Students living together
* Roommates sharing expenses
* Budget tracking for small groups
---
## Author
**Muhammad Fauzil Adhim**
GitHub: https://github.com/fauzildev
M M M M M M M M F F F F F F F
M M M M F
M M M M F
M MM M F F F F F F F
M M F
M M F
M M F