Question: # futval.py #A program to compute the value of an investment throughout the inputed future years, rounded to 2 decimal places #by Mar a Caminero
# futval.py
#A program to compute the value of an investment throughout the inputed future years, rounded to decimal places
#by Mara Caminero
def main :
printThis program calculates the future value of a yearly investment"
principal evalinputEnter the initial principal:
apr evalinputEnter the annual interest rate:
years evalinputEnter the number of years for the investment:
for i in range:
principal principal apr
printThe value in years, "years is: roundprincipal por que me da error?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
