Skip to content

Instantly share code, notes, and snippets.

@RobertTalbert
Created Nov 20, 2020
Embed
What would you like to do?
def fib(n):
if n == 0 or n == 1:
return 1
else:
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