A simple Python program to calculate the tip on a bill and divide the total amount evenly among a group of people. Perfect for dinners, group outings, or any situation where splitting expenses is needed.
- 💰 Input the total bill amount
- 🧮 Choose a tip percentage: 5%, 10%, 12%, or 15%
- 👥 Input the number of consumers
- ✅ Validates numeric input and ensures consumer count is greater than zero
- ➗ Calculates the tip and splits the total evenly
- 📃 Displays results with clean, formatted output
-
Clone the repository:
git clone <your-repo-url>
-
Run the script with Python 3:
python expense_divider.py
-
Follow the prompts in the console.
- Python 3.x
- 🧾 Allow custom tip percentages
- 🌍 Currency and language localization
- 🖥️ GUI version
- 🧪 Unit tests and CLI options
Luie – Data Science Student
Un programa sencillo en Python para calcular la propina de una cuenta y dividir el monto total de forma equitativa entre varias personas. Ideal para cenas, salidas grupales o cualquier situación donde se compartan gastos.
- 💰 Ingresar el monto total de la cuenta
- 🧮 Elegir el porcentaje de propina: 5%, 10%, 12% o 15%
- 👥 Ingresar la cantidad de consumidores
- ✅ Validar que los datos ingresados sean numéricos y que haya al menos un consumidor
- ➗ Calcular la propina y dividir el total de manera equitativa
- 📃 Mostrar los resultados con formato claro y profesional
-
Clonar el repositorio:
git clone <tu-url-del-repo>
-
Ejecutar el script con Python 3:
python expense_divider.py
-
Seguir las instrucciones en la consola.
- Python 3.x
- 🧾 Permitir porcentajes de propina personalizados
- 🌍 Localización de moneda e idioma
- 🖥️ Versión con interfaz gráfica
- 🧪 Pruebas unitarias y argumentos por línea de comandos
Luie – Estudiante de Data Science