MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / fibonacci.py

File fibonacci.py

maths/fibonacci.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Calculates the Fibonacci sequence using iteration, recursion, memoization,
3and a simplified form of Binet's formula
4

Callers

nothing calls this directly

Calls 1

time_funcFunction · 0.85

Tested by

no test coverage detected