Last active
January 22, 2017 08:16
-
-
Save sizumita/b4418f5df230e362a89f6ef9bf1aed3b to your computer and use it in GitHub Desktop.
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
y = 0 | |
for x in xrange(0,1000): | |
if x % 3 == 0: | |
y = y + x | |
elif x % 5 == 0: | |
y = y + x | |
else: | |
pass | |
print y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment