Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.26 KB

Green Calculator

Overview

Green Calculator is a simple and intuitive desktop calculator application built using Python's Tkinter library. The application features a user-friendly interface with a green-themed design, designed to provide basic arithmetic functionality.

Features

  • Basic Arithmetic Operations: Supports addition, subtraction, multiplication, and division.
  • Additional Functions: Includes parentheses for grouping, percentage calculations, and decimal points.
  • Clear and Equals Buttons: Allows users to clear the current input or evaluate the expression.

User Interface

The calculator interface consists of:

  • An entry field at the top to display the current input and results.
  • Buttons for digits (0-9), arithmetic operations (+, -, *, /), and additional functions (%, ., (, )).
  • A clear button ('C') to reset the input.
  • An equals button ('=') to calculate and display the result.

Dependencies

This project requires the Tkinter library, which is included with standard Python installations.

Usage

  1. Enter an Expression: Click the buttons to input numbers and operators.
  2. Evaluate Expression: Press the equals button ('=') to calculate the result.
  3. Clear Input: Press the clear button ('C') to reset the input field.