Guest User

Untitled

a guest
Jan 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. def fib(n):
  2. a, b = 0, 1
  3. while n > 0:
  4. a, b, n = b, a+b, n-1
  5. return b
Add Comment
Please, Sign In to add comment