Skip to content

Instantly share code, notes, and snippets.

@phalt
Created June 6, 2013 19:33
Show Gist options
  • Save phalt/5724243 to your computer and use it in GitHub Desktop.
Save phalt/5724243 to your computer and use it in GitHub Desktop.
Python Fibonacci sequence, be careful running this
a,b = 1,0
while True:
a, b = b, a+b
print b
@phalt
Copy link
Author

phalt commented Jun 6, 2013

See here for output: http://ideone.com/ckRj8H

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment