+ 1
The code is missing closing parentheses?
import numpy-financial as npf res = pmt(rate=0.04/12,nper=30*12,pv=500000,fv=0) print(res)
2 Answers
+ 4
There are two errors in the code:
In line 1 you should use an underscore. In line 2 it is npf.pmt.
import numpy_financial as npf
res = npf.pmt(rate=0.04/12,nper=30*12,pv=500000,fv=0)
print(res)
+ 1
Thank you...