Skip to content

Instantly share code, notes, and snippets.

@matburt
Created September 12, 2017 21:31
Show Gist options
  • Save matburt/9ef38e3464ae10fbb3f1607e421e6c2d to your computer and use it in GitHub Desktop.
Save matburt/9ef38e3464ae10fbb3f1607e421e6c2d to your computer and use it in GitHub Desktop.
fib_seq=[0,1]
for x in range(40):
fib_seq.append(fib_seq[-1]+fib_seq[-2])
print(fib_seq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment