Answer:
The update code is:
p=float(input("Enter current bank balance:"))
i=float(input("Enter interest rate:"))
t=float(input("Enter the amount of time that passes:"))
print(p*(1+i)**t)
Step-by-step explanation:
Required
Program to compute future value
Up to the third line, your program is correct.
The only correction that needs to be made is as follows:
On the fourth line, change p*(1+i)^t to p*(1+i)**t because Python use ** as raise to power and not ^