Guest User

Untitled

a guest
Nov 17th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. def fibonacci(n):
  2. if n == 0:
  3. return 1
  4. elif n == 1:
  5. return 1
  6. else:
  7. return fibonacci(n - 2) + fibonacci(n - 1)
Add Comment
Please, Sign In to add comment