Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calculator-tk

A simple GUI calculator application built using Python and Tkinter. This calculator allows users to perform basic arithmetic operations with a user-friendly graphical interface.

Features

  • Basic Operations: Addition, subtraction, multiplication, division.

  • Advanced Operations: Percentage calculation, square root.

  • Other Functionalities:

    • Clear (C): Clears the current entry.

    • All Clear (AC): Resets the calculator to its initial state.

    • Backspace (<-): Deletes the last digit of the current input.

    • Decimal point (.) for floating-point numbers.

    • Change sign (+/-): Feature placeholder.

  • Error Handling: Prevents invalid operations like division by zero.

Requirements

Python 3.11 or higher

Tkinter library (usually included with Python)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/calculator-tk.git

    cd calculator-tk

  2. Run the application:

    python3 -m app

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple GUI calculator application built using Python and Tkinter. This calculator allows users to perform basic arithmetic operations with a user-friendly graphical interface.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages