16 Oct
2002
16 Oct
'02
11:36 p.m.
Many thanks for all suggestions - in the end I had /" instead of /, in the parameter lists. Dapo -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: 16 October 2002 12:24 To: Dapo Ladimeji Cc: zope@zope.org Subject: Re: [Zope] help? Dapo Ladimeji wrote:
"calculate compound interest """" i= interest_rate / periods n= periods * years return ((1+i)**n) * principal"
Try the following instead: """ calculate compound interest """ i = interest_rate / periods n = periods * years return ((1+i)**n) * principal cheers, Chris