This is an application for a calculator made in Python using the tkinter module. This calculator can perform basic operations such as addition, subtraction, multiplication, and division. It also has an exponentiation button for calculating the square of the number, and a square root button for calculating the square root of the number.
- Basic operations such as addition, subtraction, multiplication, and division
- Exponentiation button for calculating the square of the number
- Square root button for calculating the square root of the number
- Clear button for clearing the display
- Displays both the current expression and the total expression
- Keyboard support
- Python 3.x
- tkinter module
- Clone the repository
git clone https://github.com/prathameshparit/Calculator.git
Run the Python file
python calculatortkinter.py
- Enter a number or select a number from the buttons on the calculator.
- Select an operator (+, -, *, /) from the buttons on the calculator.
- Enter another number or select another number from the buttons on the calculator.
- Select the equals (=) button to calculate the result.
- To calculate the square of the number, select the exponentiation (^) button, then enter the exponent.
- To calculate the square root of the number, select the square root (√) button.
- To clear the display, select the clear (C) button.
- Keyboard support is available - enter the number or operator directly from the keyboard.