Skip to content

Instantly share code, notes, and snippets.

@Ugrend
Created May 19, 2015 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ugrend/14a03b746bf5f60e7ff9 to your computer and use it in GitHub Desktop.
Save Ugrend/14a03b746bf5f60e7ff9 to your computer and use it in GitHub Desktop.
Project Euler - Problem 16
print sum(int(x) for x in str(2**1000))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment