[Tutor] Re: recursion sort of

David Broadwell dbroadwell@mindspring.com
Fri May 30 16:12:02 2003


> wow, this is more complicated than stuff I've seen, but I stole some
> of it and wrote the following, which works only because n1 and n2
> actually oscillate
And once you understand it, write it again ...

> n1=int(n1*2*w1)    #what is this 'int' thing?
int() = integer()

> cycle +=1          #and what is this? / is this why it's recursive?
that equates to cycle = cycle + 1
And it's not recursive.

--

David Broadwell