Created
September 4, 2016 19:09
-
-
Save nwiizo/19dcc112f2af43107fc4983096a606e6 to your computer and use it in GitHub Desktop.
This file contains 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
cdef double fib(n) except? -2: | |
if n < 2: return 1 | |
return fib(n - 1) + fib(n - 2) | |
print(fib(40)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment