Skip to content

Instantly share code, notes, and snippets.

@tamurashingo
Created December 4, 2012 15:09
Show Gist options
  • Save tamurashingo/4204993 to your computer and use it in GitHub Desktop.
Save tamurashingo/4204993 to your computer and use it in GitHub Desktop.
sum([x for x in range(1,1000) if x % 3 == 0 or x % 5 == 0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment