Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • \$\begingroup\$ Very close to being a duplicate of Calculate pi to 5 decimals (which has a Python solution, FWIW). \$\endgroup\$ Commented Feb 18, 2013 at 23:09
  • \$\begingroup\$ Sorry, I'm curious about a solution for this exact puzzle, not a related puzzle. \$\endgroup\$ Commented Feb 19, 2013 at 0:08
  • \$\begingroup\$ Suggest you read through tips-for-golfing-in-python. You can easily drop a few more chars \$\endgroup\$ Commented Feb 19, 2013 at 0:30
  • \$\begingroup\$ You should open it up to other languages and see how short people can program it :) \$\endgroup\$ Commented Feb 19, 2013 at 1:03
  • 1
    \$\begingroup\$ Actually, it seems the top python solution wasn't really python, it was just a hack. So no one got a 66-character solution. \$\endgroup\$ Commented Feb 19, 2013 at 18:07