How to Calculate NPV?
Saber Ayoub Chelaghma
saber.chelaghma at gmail.com
Wed Jul 29 16:09:00 CEST 2015
On Wednesday, July 29, 2015 at 3:59:10 PM UTC+2, ryguy7272 wrote:
> I am using Spyder Python 2.7. I'm running this sample code.
> import scipy as sp
> Now, I'm trying to get the NPV, and I don't see any obvious way to get it.
> The author of the book that I'm reading gets 144.56. I think that's wrong, but I don't know for sure, as Python won't do any calculation at all. It's easy to enter code and run it, but I can't tell how to get Python to actually DO the calculation.
> Any idea what I'm doing wrong?
Just do at the end of your scrip:
More information about the Python-list