Skip to content

Instantly share code, notes, and snippets.

@fuwiak
Created October 25, 2020 16:06
Show Gist options
  • Save fuwiak/7856361ca9bc326aa1f68037f899bb7f to your computer and use it in GitHub Desktop.
Save fuwiak/7856361ca9bc326aa1f68037f899bb7f to your computer and use it in GitHub Desktop.
def recur_fibo(n):
if n <= 1:
return n
else:
return(recur_fibo(n-1) + recur_fibo(n-2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment