Skip to content

Instantly share code, notes, and snippets.

@mstepniowski
Created March 29, 2009 19:45
def fib2(n):
a, b = 0, 1
for x in range(n):
a, b = b, a + b
return a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment