In <[email protected]> 
[email protected] writes:

> Hi all
> could some one help me=EF=BC=9F
> there is a piece of code:

> def fib(x):
>     if x=3D=3D0 or x=3D=3D1: return 1
>     else: return fib(x-1) + fib(x-2)

> Could some one explain it for me? I can't understand how it works.

Reposting the exact same question doesn't help us answer it.  Perhaps you
could explain why the previous responses weren't helpful.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to