Question: QUESTION 1: Write a separate python program to accomplish this question. Save the program with a filename hw2_ql.py. You are required to create a calculator

QUESTION 1: Write a separate python program to accomplish this question. Save the program with a filename hw2_ql.py. You are required to create a calculator using Tkinter. Consider the followings: A. The calculator should include 10 buttons to represent the numbers from 0 - 9. Additionally, the calculator should include 4 buttons for basic mathematical operations (+,-,/,*) and one button for equivalence (=). The result of the mathematical operations should be displayed on an entry. For all these controls you are required to consider all the following properties: a. Professional layout of your screen. b. Size (width & height). c. Padding d. Alignments e. Font f. Colors B. Create a Math class in a separate Module file called my_math.py. The class should include 4 methods for basic mathematical operations (Sum +, Subtract -, Divide !, Multiply *). Each method should take two numbers as input parameters and it should return one number as an output C. The calculator should operate successfully for all 4 basic mathematical operations. Note: The calculator should handle divide by zero by displaying an Error Message dialog. You should submit your code by uploading two files: hw2_ql.py + my_math.py question must be solved by simple understandable steps
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
