A simple command-line calculator built with Python. It performs basic arithmetic operations and allows users to perform multiple calculations in a single session.
- โ Addition
- โ Subtraction
- โ๏ธ Multiplication
- โ Division
- ๐ Floor Division
- ๐ Modulus
- ๐ข Exponentiation
- ๐ Multiple calculations in one run
- ๐ซ Prevents division by zero
- Python 3
-
Clone this repository:
git clone https://github.com/vanshbankar/python-calculator.git
-
Open the project folder:
cd python-calculator -
Run the program:
python main.py
python-calculator/
โโโ main.py
โโโ README.md
Enter Your First Number: 15
Enter Your Second Number: 3
Available operators: + - * / // % **
Enter Your Operator: *
15.0*3.0=45.0
Do you want to continue? (y/n): n
Thank you for using the calculator!
Calculator closed.
This project is licensed under the MIT License.
Made with โค๏ธ by Vansh Bankar