Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions