Skip to content

elahehakb/pastel_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Pastel Calculator 🧮🎨

A simple, beautiful, pastel-themed calculator built with Python and Tkinter. Supports basic arithmetic operations with a soft, modern UI.


Features ✨

  • Addition +, Subtraction -, Multiplication *, Division /

  • Smart input handling:

    • Prevents double operators
    • Prevents multiple decimal points in a number
    • Shows "Error" for invalid input
  • Pastel color theme for a soft, modern look

  • Clickable buttons for numbers and operators

  • Easy-to-read entry field showing current input and results


Screenshot

Calculator Screenshot


Installation 🛠️

  1. Make sure you have Python 3 installed: Download Python

  2. Clone this repository:

    git clone https://github.com/USERNAME/pastel_calculator.git
  3. Navigate to the project folder:

    cd pastel_calculator
  4. Run the calculator:

    python calculator.py

Usage 🎯

  • Click on numbers 0-9 to enter digits.
  • Click . to enter a decimal point.
  • Click operators + - * / to perform operations.
  • Click = to calculate the result.
  • Click C to clear the current input.

Author

Created by Elaheh Akbarian – a fun pastel-themed Python project! 💖


License

This project is open-source and free to use under the MIT License.

About

A simple pastel-themed calculator in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages