Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.42 KB

File metadata and controls

35 lines (18 loc) · 1.42 KB

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.