# Simple Calculator
A basic command-line calculator program in Python that performs addition, subtraction, multiplication, and division.
## Features
- Addition (`+`): Add two numbers.
- Subtraction (`-`): Subtract the second number from the first.
- Multiplication (`*`): Multiply two numbers.
- Division (`/`): Divide the first number by the second. (Includes error handling for division by zero)
## How to Use
1. Run the script by executing the following command in your terminal or command prompt:
```bash
python main.py
-
Follow the on-screen instructions to choose an operation and enter two numbers for calculation.
-
The program will display the result of the operation.
Simple Calculator
Operations:
1. Addition (+)
2. Subtraction (-)
3. Multiplication (*)
4. Division (/)
Enter the operation number (1/2/3/4): 1
Enter the first number: 10
Enter the second number: 5
10.0 + 5.0 = 15.0
- If the user attempts to divide by zero, the program will display an error message.
- Add more mathematical operations.
- Implement a loop to allow multiple calculations without restarting the program.
- Improve the user interface for better user experience.
Feel free to fork the project and make your own enhancements!