Skip to content

Instantly share code, notes, and snippets.

@yaph
Created January 30, 2012 21:42
Show Gist options
  • Save yaph/1706902 to your computer and use it in GitHub Desktop.
Save yaph/1706902 to your computer and use it in GitHub Desktop.
Project Euler: problem 1
sum([i for i in range(1000) if (i%3==0 or i%5==0)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment