Skip to content

Kinginrob/GUI-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

GUI-Calculator

This is a GUI calculator built using Python and the Tkinter library. It allows the user to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Addition: Click the + button or type + on the keyboard to add two numbers.

  • Subtraction: Click the - button or type - on the keyboard to subtract two numbers.

  • Multiplication: Click the * button or type * on the keyboard to multiply two numbers.

  • Division: Click the / button or type / on the keyboard to divide two numbers.

  • Decimal point: Click the . button or type . on the keyboard to add a decimal point to a number.

  • Clear: Click the C button or press the Delete key to clear the input field.

  • Delete: Click the ← button or press the Backspace key to delete the last character from the input field.

  • Evaluate: Click the = button or press the Enter key to evaluate the expression entered in the input field.

Usage

  1. Download or clone the repository.

  2. Install Python 3.5 or higher if you don't have it already.

  3. Install the Tkinter library if you don't have it already. In most cases, it should be included with your Python installation.

  4. Open a terminal or command prompt and navigate to the project directory.

  5. Run the GUI Calculator.py file using the command python GUI Calculator.py or by double-clicking on the file.

  6. Use the calculator by clicking the buttons or typing on your keyboard.

About

A Python script for a GUI Calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages