Skip to content

Instantly share code, notes, and snippets.

@phunehehe
Created February 22, 2013 13:28
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 phunehehe/5013370 to your computer and use it in GitHub Desktop.
Save phunehehe/5013370 to your computer and use it in GitHub Desktop.
WHATEVER_NUMBER_YOU_LIKE = 42
def sequence(input):
if input == 0:
return 340
if input == 1:
return 680
if input == 2:
return 1428
if input == 3:
return 3141.6
return WHATEVER_NUMBER_YOU_LIKE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment