Skip to content

Instantly share code, notes, and snippets.

@shashi
Created February 26, 2009 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shashi/70765 to your computer and use it in GitHub Desktop.
Save shashi/70765 to your computer and use it in GitHub Desktop.
k=1; i=[1,2]
while k:
for j in i:
k*=j
i.append(k+1)
k=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment