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.

Vince
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to