need help regarding compilation
Sybren Stuvel
sybrenUSE at YOURthirdtower.com.imagination
Thu Feb 23 12:16:10 EST 2006
fidlee at gmail.com enlightened us with:
> i am new to learning jython...
And to python, obviously
> i just tried compiling a small piece of code that is given below:
>
> def fac(x)
> if x<=1:return 1
> return x*fac(x-1)
You need to write 'def fac(x):'.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
More information about the Python-list
mailing list