Skip to content

Files

Latest commit

 

History

History

Calculator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Calculator Application

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.

Description

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.

Required Modules

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.

How to Install Required Modules

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

How to Run the Script

  1. Clone the Repository:
            git clone https://github.com/yourusername/calculator.git
            cd calculator
  1. Run the Script:
            python3 calculator.py