Answered step by step
Verified Expert Solution
Question
1 Approved Answer
# 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started