This is a simple command-line calculator written in Python. It allows users to perform basic arithmetic operations: addition, subtraction, multiplication, and division.
- Accepts two integer inputs from the user
- Supports the following operations:
+,-,*,/ - Handles division by zero with an error message
- Provides clear output for each operation
- Run the program using Python:
python Calculator.py
- Enter the first number when prompted.
- Enter the second number when prompted.
- Enter the desired operation (
+,-,*, or/). - View the result or error message.
Enter the first number: 10
Enter the second number: 5
Enter an operation (+, -, *, /): *
10 * 5 = 50
- Python 3.x
- Only integer inputs are supported.
- Division by zero is handled gracefully.
This project is open source and free to use.