Calculates the Fibonacci number of a inputted real positive number. More...
Functions | |
def | fibonacci.fib (idx) |
This function calculates a Fibonacci number at a specific index. More... | |
Variables | |
bool | fibonacci.run = True |
tuple | fibonacci.idx = (input("Input a positive real index for a desired Fibonacci number: ")) |
Calculates the Fibonacci number of a inputted real positive number.
Implements a Bottom Up Approach to calculate the desired Fibonacci number after the user has inputted a real, positive number. The link to the code can be found here: https://bitbucket.org/mzaman01/me305_labs/src/master/Lab%201/fibonacci.py
def fibonacci.fib | ( | idx | ) |
This function calculates a Fibonacci number at a specific index.
idx | An integer specifying the index of the desired Fibonacci number |