Skip to content

Instantly share code, notes, and snippets.

@shieldsd
Created March 22, 2012 09:26
Show Gist options
  • Save shieldsd/2157309 to your computer and use it in GitHub Desktop.
Save shieldsd/2157309 to your computer and use it in GitHub Desktop.
Project Euler #16
print sum(int(c) for c in str(2**1000))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment