[Tutor] urgent help required! invalid syntax

Steven D'Aprano steve at pearwood.info
Fri Feb 18 10:56:10 CET 2011


lim chee siong wrote:
> 
> 
> Hi,
> I was writing a module for the black-scholes pricing model in python, but I keep getting this error message: 
> Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "C:\Python26\lib\blackscholes.py", line 25    d2=d1-v*sqrt(t)     


Please COPY AND PASTE the FULL error message, including the entire
traceback. Do not re-type it, summarise it, simplify it, or change it in
any other way.

But my guess is that you're probably missing a closing bracket ) on that
line, or the one before it.



-- 
Steven



More information about the Tutor mailing list