Question: please complete the code in python (35 points) Create a class named MortgageCaleSlider that allows you to calculate the monthly payment of a mortgage as

please complete the code in python  please complete the code in python (35 points) Create a class
named MortgageCaleSlider that allows you to calculate the monthly payment of a
mortgage as you slide the values on the slider. 2. a. P
- Principal (the amount of the loan) from 0 to 1,000,000 b.

(35 points) Create a class named MortgageCaleSlider that allows you to calculate the monthly payment of a mortgage as you slide the values on the slider. 2. a. P - Principal (the amount of the loan) from 0 to 1,000,000 b. N- Term of Loan (how many years to pay off the loan) from 0 to 30 c R--The interest rate on the loan from 0 to 10 d. The values will be used to compute the following formula pr/1200.0 1-(1.0+/1200.0) 120 Note: You much catch errors and ignore them and just display a general message. Since Scales are being used, you can run into division errors. You must format the output as currency. See the screen shots below. Notice the title. Mortgage Calculator- Mortgage Calculator Slider Principal: Years Interest: 0 Mortgage Calculator-x Mortgage Calculator Slider 500000 Principal Years Interest: Unable to calculate with current values Mortgage Calculator- Mortgage Calculator Slider 500000 Principal: 15 Years Interest: Unable to calculate with current values Mortgage Calculator O x Mortgage Calculator Slider 500000 Principal 15 Years Interest 3,953.97 Mortgage Colculator Mortgage Calculator Slider 320000 Principal: 30 Years: interest $1,717.83 #need more imports fron tkinter import Tk class MortgageCales1ider (Tk): def-init-(self, parent=None): Tk.__init _(self, parent) self. title ( Mortgage Calculator) self. make_widgets 0 er def updateValues (self, event): pass def make_widgets (self): pass

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!