This is a basic command-line calculator written in Python that allows users to perform simple arithmetic operations like addition, subtraction, multiplication, and division.
- Addition: Adds two numbers.
- Subtraction: Subtracts the second number from the first.
- Multiplication: Multiplies two numbers.
- Division: Divides the first number by the second, with error handling for division by zero.
The program prompts the user to select an operation and then enter two numbers for the calculation. It displays the result of the chosen operation.
- Python 3.x