Check out the "try it out" section for the live demo (on replit). Direct Replit Link

🚧 What It Does

This is a program which calculates the bill for each person, without any remainder.

🛠️ How I Built It

I used python for the logic, and the collections library for fancy printing. It took me a while to figure out how to have no remainder. Then, I realized each person can have their own profile. Once the base bill is figured out, a cent would be added to each person's profile until all the cents were gone. This way, the maximum one person could have to pay more than another was 1¢ 🤯.

📙 What I Learned

I learned how to use the collections library and how to calculate a sum of money without any decimal.

🔜 What's Next For Bill Splitter

I will add a better UI, but will not change the logic, as the logic doesn't break.

Built With

Share this project:

Updates

Submission history