Skip to content

Instantly share code, notes, and snippets.

@soimort
Created March 5, 2012 00:47
Show Gist options
  • Save soimort/1975687 to your computer and use it in GitHub Desktop.
Save soimort/1975687 to your computer and use it in GitHub Desktop.
Project Euler - Problem 1
print(3 * (999 // 3 + 1) * (999 // 3) // 2
+ 5 * (999 // 5 + 1) * (999 // 5) // 2
- 15 * (999 // 15 + 1) * (999 // 15) // 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment