This repository contains a simple calculator application built using Python's tkinter library. The calculator can perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
The calculator application has a graphical user interface (GUI) that allows users to input numbers and perform calculations. The display area shows the current equation and the result of the calculation. Buttons are provided for digits, arithmetic operators, and other functions like clear and equals.
The application requires Python's tkinter module for creating the GUI. tkinter is included with the standard Python distribution, so no additional installation is necessary.
tkinter is included with Python by default. However, if you encounter any issues or if it is not installed, you can install it using the following command: sudo apt-get install python3-tk
- Clone the Repository:
git clone https://github.com/yourusername/calculator.git
cd calculator
- Run the Script:
python3 calculator.py