Skip to content

Instantly share code, notes, and snippets.

@biesnecker
Created October 11, 2013 15:11
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 biesnecker/6936362 to your computer and use it in GitHub Desktop.
Save biesnecker/6936362 to your computer and use it in GitHub Desktop.
print(sum([x for x in range(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