Helps a group of people divide expenses they spent on a trip.
It takes in number of people, their name, amount each paid.
provides instructions on how each person can pay or receive money from others to settle their dues with minimum number of transactions. such that everyone pays equal amount
paste on terminal , note: python 3 is needed
python div.py
![](https://private-user-images.githubusercontent.com/108711354/291299981-b9bac9ac-879f-4888-b9fc-8934acfe1655.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNzM1MjAsIm5iZiI6MTcyNDE3MzIyMCwicGF0aCI6Ii8xMDg3MTEzNTQvMjkxMjk5OTgxLWI5YmFjOWFjLTg3OWYtNDg4OC1iOWZjLTg5MzRhY2ZlMTY1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQxNzAwMjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xY2RiMDI2MWE2ZGNiNDdkOWEyYTI5OWIxNjM4YTg2ZDk1ZWJjZTdjZjljNGJiYzIzNGFlMmQzNGY2ODcwMTIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.BEGPYzjBw4Yw_jEE27x5dF6FGx8kyty81E8-MNEAcAA)
![](https://private-user-images.githubusercontent.com/108711354/291299992-3c4ac040-ac39-4b4c-af3d-2cc46da5c64f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSI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