A simple yet powerful console-based calculator written in Python. It supports basic operations, counting, averaging, percentages, and square roots. The user can choose between English or Spanish at startup!
- Bilingual: Choose English or Spanish when the program starts.
- Supported operations:
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division (/)
- Counter (count from 0 to a given number)
- Average of multiple numbers
- Percentage (part of a total)
- Square root (β)
- Safe input handling: Repeatedly asks for valid numbers if invalid input is provided.
- Error protection: Prevents division by zero and square root of negative numbers.
- Step-by-step display: Shows intermediate results for operations with multiple numbers.
- Ensure you have Python installed (version 3.6 or higher).
- Save the file as
numbers.py. - Open a terminal/command prompt in the folder containing the file.
- Run the program:
python numbers.py