Question: using Python programming langauge Use the input function to ask for a dollar loan amount (assume a float is entered). # Then ask for a

using Python programming langauge Use the input function to ask for a dollar loan amount (assume a float is entered). # Then ask for a loan rate percentage amount (Assume a float is entered). # Then ask for the number of years (assume a positive int is entered). # Make sure there are helpful messages saying what should be entered. # Print out a chart showing how the loan would grow each year if no money is used to pay it off. As an example # # Please enter a loan amount: 1000.0 # Please enter a loan rate percent: 5.0 # Please enter the length of the loan in years: 5 # Year: 1 Loan Amount: 1050.0 # Year: 2 Loan Amount: 1102.5 # Year: 3 Loan Amount: 1157.625 # Year: 4 Loan Amount: 1215.5062500000001 # Year: 5 Loan Amount: 1276.2815625000003 # # The math to compute this is not too bad. Each year, the updated loan value is: # loan amount * (1 + loan rate percent/100.0) # If the person entered 5.5 for the loan rate, the math evaluates to # new loan amount = old loan amount * 1.055. # Use a for loop over the number of years and compute an updated loan amount each year and print it out. # principle = int(input('type stating amount:')) # #addition = int(input('type annual addition:')) # rate = float(input('type interest rate:')) # time = int(input('enter number of years to invest:')) # real_rate = rate * 0.01

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!