Skip to content

PedroSilva370/Calculator-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Calculator Application (Python + Tkinter)

Overview

This project is a desktop calculator developed using Python and the Tkinter GUI library.
It was created as a practical exercise to strengthen understanding of graphical user interface development, event-driven programming, and arithmetic logic implementation.

The application provides a structured interface and reliable handling of user input. Debugging and structural refinements were completed with AI-assisted review to improve organization and code stability.


Features

  • Addition, subtraction, multiplication, and division
  • Percentage calculation
  • Sign toggle (+/-)
  • Clear function (AC)
  • Decimal number support
  • Division-by-zero handling
  • Automatic formatting to remove unnecessary trailing decimals (e.g., 10.0 → 10)
  • Centered and fixed-size window layout

Technical Details

  • Language: Python 3
  • GUI Framework: Tkinter

Educational Purpose

-This project demonstrates: -Implementation of a functional GUI application -Structured separation between interface and logic -Practical handling of numerical operations -Debugging and code refinement practices


Author

Pedro Gaudencio


Execution

python calculator.py

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages