Skip to content

Instantly share code, notes, and snippets.

Created Nov 20, 2020
What would you like to do?
def fib(n):
if n == 0 or n == 1:
return 1
return fib(n-1) + fib(n-2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment