Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Nov 4, 2020
Embed
What would you like to do?
def fibonacci(n):
if n < 2:
return 1
return fibonacci(n-1) + fibonacci(n-2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment