[Zope] tutorial script error

Raymond Norton ray@lctn.k12.mn.us
Fri, 23 Nov 2001 21:02:15 -0600


I am following the tutorial. When I attempt to add this script I get a
syntax error on line 1. It doesn't like the quotes.

Can anyone give me advice on this?

## Script (Python) "calculateCompoundInterest"
      ##parameters=principal, interest_rate, periods, years
      ##
      """
      Calculate compounding interest.
      """
      i = interest_rate / periods
      n = periods * years
      return ((1 + i) ** n) * principal

Raymond