Skip to content

Instantly share code, notes, and snippets.

@goyuninfo
Created May 13, 2014 21:22
Show Gist options
  • Save goyuninfo/b9c3d2abca5f9db8a11b to your computer and use it in GitHub Desktop.
Save goyuninfo/b9c3d2abca5f9db8a11b to your computer and use it in GitHub Desktop.
s=0
for i in range(1000):
if i % 3 == 0 or i % 5 == 0:
s+=i
print s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment