+ 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)

10th Dec 2022, 4:09 PM
Kendra
Kendra - avatar
2 ответов
+ 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)
10th Dec 2022, 4:19 PM
Paul
Paul - avatar
+ 1
Thank you...
10th Dec 2022, 5:33 PM
Kendra
Kendra - avatar