This is a simple command-line calculator program written in Python. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Addition
- Subtraction
- Multiplication
- Division (with error handling for division by zero)
To use the calculator, follow these steps:
- Clone the repository to your local machine.
- Run the
calculator.py
file in a Python environment. - Follow the on-screen instructions to select the operation and input numbers.
- View the result displayed on the screen.
- When prompted, enter the choice number corresponding to the operation you want to perform.
- Enter the first number followed by the second number when prompted.
- The calculator will display the result of the selected operation.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.