Skip to content

This calculator is more than just a tool for math, it's a visual delight with its fun color-changing feature! Powered by Python and the Tkinter library.

License

Notifications You must be signed in to change notification settings

hrosicka/BasicCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator with GUI and Fun Color Feature!

This Python program features basic arithmetic operations and a fun random color button to change the button colors.

Features:

  • Basic arithmetic operations: Add, subtract, multiply, and divide numbers.
  • User-friendly interface: Input expressions and view results in designated entry fields.
  • Clear buttons: Clear the entire expression or remove the last entered character.
  • Random color button: Change the color of buttons for a visual refresh and some fun!
  • High-resolution display support: Improves compatibility with displays with high DPI settings.

Usage

  1. Enter an expression in the top entry field.
  2. Click the button with the desired operation.
  3. The result will be displayed in the bottom result field.
  4. Use the "C" and "CE" buttons to clear the result or the last entered character.
  5. The "Colors" button randomly changes the button colors.

"Colors" button:

The "Colors" button generates random colors for the calculator buttons. It provides a fun and dynamic look for the calculator. It is located in the "Calculation" frame.

About

This calculator is more than just a tool for math, it's a visual delight with its fun color-changing feature! Powered by Python and the Tkinter library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages