Simple Fibonacci number enumerator. More...
Functions | |
def | fibonacci.fib (idx) |
This function calculates a Fibonacci number at a specific index. More... | |
Variables | |
fibonacci.idx = input ('Fibonacci Index Number: ') | |
'idx' is the index for which one wants a Fibonacci number. | |
Simple Fibonacci number enumerator.
The program should be able to handle positive and negative numbers, decimals, and non-numbers accordingly. Source code here: https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab1/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. |