Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a python based project. Your code should allow the user to enter three values: a principle balance, an interest rate, and a number

image text in transcribed

This is a python based project.

Your code should allow the user to enter three values: a principle balance, an interest rate, and a number of years. For simplicity's sake, we will compound our interest once per year. In order to do so, create a function interest_calculator with three inputs, corresponding to the user inputs. They should have the default values 10000,09 , and 10 , respectively. Your formula to calculate the interest will be Balance(Year +1)= Balance * (1+ interest rate ) ' So for example, starting with 10,000 and a 5% interest rate, the formula is 10,000(1+.05)=10,500. The next year would be 10,500(1+.05)=11,025 and so on. Each year you will output the year number, and the value of the balance that year

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

Step: 3

blur-text-image

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

How would you train others to perform the task? Explain.

Answered: 1 week ago

Question

Why is it important for a firm to conduct career development?

Answered: 1 week ago