Advertisement
Guest User

Untitled

a guest
Apr 30th, 2011
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. def fib(n):
  2.     if n <= 2:
  3.         return 1
  4.     else:
  5.         return (fib(n-1)+fib(n-2))
  6.  
  7. list=fib(35)
  8. print(list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement