Question: When working on this homework, you will need to import the module that defines the Loan class ( Team Activity 4 , Loan class module
When working on this homework, you will need to import the module that defines the Loan class Team Activity Loan class module You should refer to the BMI GUI exercise when working on this homework. You will submit both the Loan class module and the file that defines and use the GUI class.
For this HW you will create a python file that defines a GUI class according to the following description.
First, import the modules that you need to use for this GUI class.
Define your GUI class method to assemble the user interface. Create the main window and use frames as containers to hold label, entry, and button widgets. The finished user interface should look like this screenshot in terms of contents dont worry about the alignment
Define the event handler for the Calculate button. Specifically, after a user enters year, annual interest rate and loan amount and clicks the Calculate button, the program should calculate and display the monthly payment and total payment. Note: you need to create an instance of the Loan class based on user inputs, and then call the instance's methods to figure out the monthly and total payment. See the screenshot in next page.
Define the event handler for the Reset button. After the user clicks the Reset button, the program should clear all the entry fields. See the screenshot in next page.
Lastly, create an instance of your GUI class to test your code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
