fibonacci package

Submodules

fibonacci.fibonacci module

fibonacci.fibonacci.fib(n)[source]

Return the n-th Fibonacci number.

fibonacci.typesafe_fibonacci module

fibonacci.typesafe_fibonacci.typesafe_fib(n)[source]

Return the n-th Fibonacci number, raising an exception if a non-integer is passed as n.

Module contents