Question: Must be Python Develop module interest.py with functions calculate_simple_interest , calculate_present_value , and calculate_compound_interest . Each function asks the user for the input required for
Must be Python
Develop module interest.py with functions calculate_simple_interest, calculate_present_value, and calculate_compound_interest. Each function asks the user for the input required for the formula and returns the calculated value.
s = p * r * t
s = simple interest
p = principal
r = rate
t = term of loan
P= F(1+r)n
P = present_value
F = future_value
rate = annual interest rate
years = number_of_years
A=P(1+rn)nt
A = final amount
P = initial principal balance
r = interest rate
n = number of times interest applied per time period
t = number of time periods elapsed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
