Skip to content

The simple idea of how to make a calculator to do simple math

Notifications You must be signed in to change notification settings

NaxonRO/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

Calculator with python3

Requirements

For running this calculator you will need to have installed in your linux the following:

  • python 3.x

$ sudo apt-get update
$ sudo apt-get install python3.x

  • tkinter

$ sudo apt install python3-tk

How to Use It

Navigate to the Calculator Directory:

  • Open your terminal and move to the directory where calculator.py is located. $ cd /path/to/your/calculator/directory

Run the Calculator:

  • Execute the following command: $ python3 calculator.py

Using the Calculator:

  • A prompt will appear displaying the UI of the calculator.
  • You can perform mathematical calculations by clicking on the numbers and operations.
  • After entering the entire expression, press the Equal (=) button to see the result.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Support for square root calculations.
  • Clear and remove last character functionality.

About

The simple idea of how to make a calculator to do simple math

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages