Created
March 5, 2012 00:47
-
-
Save soimort/1975687 to your computer and use it in GitHub Desktop.
Project Euler - Problem 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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