A straightforward, command-line calculator built with Python that performs basic arithmetic operations. This project demonstrates the use of functions and conditional logic to create an interactive user experience.
- Addition (
+) - Subtraction (
-) - Multiplication (
*) - Division (
/) - Error Handling: Prevents crashing by handling division by zero.
- Make sure you have Python 3 installed on your system.
- Clone or download this repository to your computer.
- Open your terminal or command prompt.
- Navigate to the directory where you saved the file.
- Run the script using the following command:
python calculator.py