Skip to content

Instantly share code, notes, and snippets.

@mitchellbusby
Created May 30, 2012 09:38
Show Gist options
  • Save mitchellbusby/2835126 to your computer and use it in GitHub Desktop.
Save mitchellbusby/2835126 to your computer and use it in GitHub Desktop.
not implemented
x = [0,1]
y = 0
total = 0
while y < 4000000:
y = x[-2] + x[-1]
x.append(y)
for i in x:
if i % 2 == 0:
total += i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment