Skip to content

Lazaro549/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Interactive Bilingual Calculator

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!

✨ Features

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

πŸš€ How to Run

  1. Ensure you have Python installed (version 3.6 or higher).
  2. Save the file as numbers.py.
  3. Open a terminal/command prompt in the folder containing the file.
  4. Run the program:
python numbers.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages