Created
February 23, 2026 20:59
-
-
Save brianm/554a5441ca076d02dea2bf8ead32e4be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| def fib(n): return round( (1 / (math.sqrt(5))) * (((1 + math.sqrt(5)) / 2) ** n)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment