JGuizard
6/27/2016 - 9:19 AM

Fibonacci sequence in python

Fibonacci sequence in python

def F(n):
    if n == 0: return 0
    elif n == 1: return 1
    else: return F(n-1)+F(n-2)