recursive internal function

Bill Janssen (janssen@parc.xerox.com)
Fri, 29 Oct 1993 14:06:42 PDT

Next question: how do I write something like the function foo():

def bar (x):

def foo (y):

if (y > 100): return
... do something with y...
foo (y*2)

... do something with x...
foo(x*3)

bar(1)

I suppose I just can't.

Bill