This project is a simple calculator implemented in Python. It can perform basic arithmetic operations like addition, subtraction, multiplication, division, modulus, and exponentiation.
- Interactive command-line interface.
- Supports operations: addition (
+), subtraction (-), multiplication (*), division (/), modulus (%), and exponentiation (^). - Allows continuous operations with the last calculated value.
Before running this project, make sure you have Python installed on your system. The calculator is compatible with Python 3.
To run the calculator, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/yourusername/simple-calculator.git- Navigate to the cloned directory:
cd simple-calculator- Run the script with Python:
python test.pyWhen you run the calculator, it will prompt you to enter the first operand, an operator, and the second operand. After pressing Enter, it will display the result and offer options to perform additional calculations, clear the calculator, or turn off the calculator.
If you have suggestions for adding or improving features, please fork the repository and create a pull request, or open an issue with the tag "enhancement".
This project is licensed under the MIT License - see the LICENSE file for details.
For any additional questions about this project, reach out to Jon Whitmer at jonwhitmer23@gmail.com.
Copyright © 2023 Jon Whitmer. All rights reserved.