Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.47 KB

Calculator.md

File metadata and controls

40 lines (25 loc) · 1.47 KB

Calculator

This project is a basic calculator application built using Python's Tkinter library. It provides essential arithmetic operations like addition, subtraction, multiplication, and division, with a simple and user-friendly graphical interface.

Features

  • Basic Operations: The calculator can perform addition, subtraction, multiplication, and division.
  • Clear Functionality: Users can clear the current input.
  • Error Handling: Displays an "Error" message for invalid calculations.
  • Graphical Interface: Designed with a clean and intuitive layout using Tkinter.

Installation

To run this application on your local machine, follow these steps:

  1. Ensure Python is Installed: Make sure you have Python 3.x installed on your machine.

  2. Run the Calculator: Simply execute the Python script to start the calculator:

    python calculator.py

Usage

  • Launching the App: Run the script, and a calculator window will appear.
  • Perform Calculations: Use the number buttons and operators to perform calculations. Click = to get the result.
  • Clear Input: Use the C button to clear the current input.

Screenshots

Calculator Interface

calculator

Acknowledgments

  • Thanks to Tkinter for providing a simple way to create GUIs in Python.