Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Simple Calculator

Perform calculations effortlessly with our Simple Calculator application built using Python's Tkinter library. Whether you need to add, subtract, multiply, divide, or perform more complex operations.

Features

  • Basic Arithmetic Operations: Add, subtract, multiply, and divide numbers with ease.
  • Parentheses Support: Use parentheses to perform complex calculations and maintain order of operations.
  • Percentage Calculation: Quickly calculate percentages for your numerical values.
  • Error Handling: If an invalid expression is entered, the calculator will display an error message.

How to Use

  1. Enter Numbers: Input numerical values by clicking on the respective buttons.
  2. Perform Operations: Click on the operation buttons (+, -, *, /) to perform arithmetic operations.
  3. Clear Entry: Press 'C' to clear the current entry.
  4. Calculate Result: Hit '=' to compute the result of the expression entered.
  5. Error Handling: If an invalid expression is entered, an error message will be displayed.

Setup

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

  1. Ensure you have Python installed on your system.
  2. Clone the repository to your local machine.
  3. Navigate to the project directory in your terminal.
  4. Run the command python calculator.py to launch the calculator application.

Screenshots

Capture Calculator Interface

Contributions

Contributions are welcome! If you'd like to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

🧮 Happy calculating!😂 🧮

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages