Skip to content

Instantly share code, notes, and snippets.

@heathhenley
Created July 27, 2021 19:21
Show Gist options
  • Save heathhenley/5add94457b0d722570c35ca1e95a29b2 to your computer and use it in GitHub Desktop.
Save heathhenley/5add94457b0d722570c35ca1e95a29b2 to your computer and use it in GitHub Desktop.
def fib(n):
if n < 2:
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