Skip to content

luisbotteri/python-expenser-divider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

💸 Expense Divider & Tip Calculator

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.


🚀 Features

  • 💰 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

🛠️ Usage

  1. Clone the repository:

    git clone <your-repo-url>
  2. Run the script with Python 3:

    python expense_divider.py
  3. Follow the prompts in the console.


📦 Requirements

  • Python 3.x

🌱 Future Improvements

  • 🧾 Allow custom tip percentages
  • 🌍 Currency and language localization
  • 🖥️ GUI version
  • 🧪 Unit tests and CLI options

👤 Author

Luie – Data Science Student



💸 Calculadora de Propinas y Divisor de Gastos

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.


🚀 Funcionalidades

  • 💰 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

🛠️ Uso

  1. Clonar el repositorio:

    git clone <tu-url-del-repo>
  2. Ejecutar el script con Python 3:

    python expense_divider.py
  3. Seguir las instrucciones en la consola.


📦 Requisitos

  • Python 3.x

🌱 Mejoras futuras

  • 🧾 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

👤 Autor

Luie – Estudiante de Data Science

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages