phi = (1 + 5**0.5) / 2

def F(n):
    return int(round((phi**n - (1-phi)**n) / 5**0.5))
def fib(n):
    a = 0
    fibs = []
    if n > 0:
        while a < n:
            a = a + 1
            fibs.append(F(a))
    elif n < 0:
        while a > n:
            a = a - 1
            fibs.append(F(a))
    return fibs
def run():
    numberWanted = int(input("Stage of Fibs wanted"))
    fibs = fib(numberWanted)
    print("F(0) = 0")
    a = 0
    if numberWanted > 0:
        while a < numberWanted:
            a = a + 1
            print("F(" + str(a) + ") = " + str(fibs[a-1]))
    elif numberWanted < 0:
        while a > numberWanted:
            a = a - 1
            print("F(" + str(a) + ") = " + str(fibs[(-1 * a)-1]))

run()

Add Fibonacci script to Python
Add Fibonacci script to Python
