A simple Python-based calculator that supports basic arithmetic operations:
- Addition (
+
) - Subtraction (
-
) - Multiplication (
*
) - Division (
/
) - Floor Division (
//
) - Exponentiation (
**
) - Modulo (
%
)
- User-friendly input prompts
- Error handling for invalid inputs and division by zero
- Ability to perform multiple calculations in one session
- Clone the repository:
git clone https://github.com/SaurabhSSB/python-calculator.git
- Navigate to the directory:
cd command-line-calculator
- Run the script:
python calculator.py
- Follow the on-screen instructions.