[Zope] help?

Chris Withers chrisw@nipltd.com
Wed, 16 Oct 2002 12:23:38 +0100


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