Answer:
here is the correct answer
Step-by-step explanation:
# The savings function returns the future value of an account.
def savings(present, interest, time):
return present * (1 + interest)**time
# The main function.
def main():
present = float(input('Enter current bank balance:'))
interest = float(input('Enter interest rate:'))
time = float(input('Enter the amount of time that passes:'))
print(savings(present, interest, time))
# Call the main function.
if __name__ == '__main__':
main()