there is a problem, holp someone could help me,thanks

kangshufan at kangshufan at
Wed Aug 24 11:59:45 EDT 2011

Hi everyone

I just study python for a few time.
Now I have a problem and I holp someone can help me.
There is a piece of code:

def fib(x):
    if x==0 or x==1: return 1
    else: return fib(x-1) + fib(x-2)

Could you explain how it works?
Thanks for you help.


More information about the Python-list mailing list