[Zope] help?
Dapo Ladimeji
dapo@ladimeji.com
Thu, 17 Oct 2002 00:36:00 +0100
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