Skip to content

This is a basic calculator project written in Python with Tkinter library. It supports addition, subtraction, multiplication, division, and square root. The UI is designed with simple buttons and labels for ease of use. The calculator also has the ability to be controlled through keyboard inputs.

Notifications You must be signed in to change notification settings

prathameshparit/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Application

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.

Screenshot

python

Features

  • 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

Prerequisites

  • Python 3.x
  • tkinter module

Installation

  • Clone the repository
git clone https://github.com/prathameshparit/Calculator.git

Run the Python file

python calculatortkinter.py

Usage

  • 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.

About

This is a basic calculator project written in Python with Tkinter library. It supports addition, subtraction, multiplication, division, and square root. The UI is designed with simple buttons and labels for ease of use. The calculator also has the ability to be controlled through keyboard inputs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages