On 2019-02-24 04:21, Himanshu Yadav wrote:
fibs={0:0,1:1}
def rfib(n):
       global fibs
        if not fibs.get(n):
                 fibs[n]=rfib(n-2)+rfib(n-1)
         return fibs[n]
Why it is gives error??

What error?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to