Simple Calculator Overview This is a simple, command-line based calculator written in Python. The calculator can perform basic arithmetic operations such as addition, subtraction, multiplication, and division. It's designed to be a straightforward example of how to implement fundamental mathematical operations in Python.
Features Addition: Adds two numbers. Subtraction: Subtracts the second number from the first. Multiplication: Multiplies two numbers. Division: Divides the first number by the second, providing the result as a floating-point number. Usage To use the calculator, clone the repository and run the script. You will be prompted to enter two numbers and select an operation.
Example bash Copy code
git clone https://github.com/danithu123/Python-Calculater.git
cd simple-calculator
python calculator.py Sample Interaction markdown Copy code Enter first number: 10 Enter second number: 5 Select operation:
- Addition
- Subtraction
- Multiplication
- Division Enter choice (1/2/3/4): 1 Result: 15 Installation Ensure you have Python installed on your machine. This project is compatible with Python 3.x.
Contributing Contributions are welcome! Please fork this repository and submit a pull request with your improvements.
License This project is licensed under the MIT License. See the LICENSE file for details.