Skip to content

Instantly share code, notes, and snippets.

@shieldsd
Created April 20, 2012 15:50
Show Gist options
  • Save shieldsd/2429841 to your computer and use it in GitHub Desktop.
Save shieldsd/2429841 to your computer and use it in GitHub Desktop.
Project Euler #48
print str(sum(i ** i for i in xrange(1, 1001)))[-10:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment