Quiz states wrong but it looks to be right

Let us calculate FV, if the bond makes semi-annual payments

PV = 1000

r = 0.05

n = 2 # number of periods = 2 since bond makes semiannual payments

t = 1 # number of years

Type your code in line 15


FV = PV*[(1+(r/n))**(n*t)]
print (FV)

Error message states the values are not quite right.

Thanks for your query. In the code ,  FV = PV*[(1+(r/n))(nt)] , the square brackets ( [ ] ) are creating a list. You might want to use the round brackets like,  FV = PV((1+(r/n))(nt))  or remove them altogether , FV = PV(1+(r/n))**(n*t)