Skip to content

Instantly share code, notes, and snippets.

@goyuninfo
Created May 21, 2014 22:24
Show Gist options
  • Save goyuninfo/64c973ad110f515b58ae to your computer and use it in GitHub Desktop.
Save goyuninfo/64c973ad110f515b58ae to your computer and use it in GitHub Desktop.
Project-Euler-6a.py
sum1=0
for i in range(100):
sum1+=(i+1)*(i+1)
print 10000*101*101/4-sum1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment