Recursive function won't compile

dj3vande at csclub.uwaterloo.ca.invalid dj3vande at csclub.uwaterloo.ca.invalid
Wed Apr 2 16:52:10 EDT 2008


In article <be71dc98-63c0-4a56-80e8-7d83b2d3e882 at u36g2000prf.googlegroups.com>,
 <bc1891 at googlemail.com> wrote:

(Subject: Recursive function won't compile)

>#include <stdio.h>
>#include <stdlib.h>
>
>def RecursiveFact(n):

>......but yet it still gives the right answer. How is this possible?

Possibly because it gives the right answer in a different language than
it fails to compile in?


dave

-- 
Dave Vandervies                                     dj3vande at eskimo dot com
A violent rewrite could produce something worthwhile; as it is you need enough
experience to not need the book to be able to read it.  Well, that makes sense
to me, anyhow.                                     --CBFalconer in comp.lang.c



More information about the Python-list mailing list