Created
February 9, 2015 05:43
-
-
Save anonymous/2a00bf8321be184c9fad to your computer and use it in GitHub Desktop.
Pasted from IPython
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
sum=0 | |
for i in range(1,1000): | |
if i%3==0 or i%5==0: | |
sum += i | |
print sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment