A simple, beautiful, pastel-themed calculator built with Python and Tkinter. Supports basic arithmetic operations with a soft, modern UI.
-
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
-
Make sure you have Python 3 installed: Download Python
-
Clone this repository:
git clone https://github.com/USERNAME/pastel_calculator.git
-
Navigate to the project folder:
cd pastel_calculator -
Run the calculator:
python calculator.py
- Click on numbers
0-9to enter digits. - Click
.to enter a decimal point. - Click operators
+ - * /to perform operations. - Click
=to calculate the result. - Click
Cto clear the current input.
Created by Elaheh Akbarian – a fun pastel-themed Python project! 💖
This project is open-source and free to use under the MIT License.
