This is a simple Python program that acts as a basic calculator.
- Asks the user to input two numbers
- Prompts for a mathematical operation:
+,-,*,/ - Performs the chosen operation and prints the result
- Handles division by zero
- Detects invalid operation input
- Enter the first number: 10
- Enter the second number: 5
- Enter an operation (+, -, *, /): +
Make sure Python is installed on your system.
Run the program using:
python calculator.py