This Python program features basic arithmetic operations and a fun random color button to change the button colors.
- 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.
- Enter an expression in the top entry field.
- Click the button with the desired operation.
- The result will be displayed in the bottom result field.
- Use the "C" and "CE" buttons to clear the result or the last entered character.
- The "Colors" button randomly changes the button colors.
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.