Ad

Input any number and this will return what number is in that place in the Fibonacci sequence

def fibonacci(x):
    if x == 0:
        return 0 
    elif x == 1:
        return 1
    else :
        return fibonacci(x-1) + fibonacci(x-2)