Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36006

Re: Python is awesome (Project Euler)

From Neil Cerutti <neilc@norwich.edu>
Newsgroups comp.lang.python
Subject Re: Python is awesome (Project Euler)
Date 2013-01-02 19:11 +0000
Organization Norwich University
Message-ID <akjf2sFsiv8U3@mid.individual.net> (permalink)
References <roy-356AC0.09185931122012@news.panix.com> <kbsfh5$lp4$1@dont-email.me> <roy-23E484.13454431122012@news.panix.com>

Show all headers | View raw


On 2012-12-31, Roy Smith <roy@panix.com> wrote:
> There's a problem I just worked where you need to find the last
> 10 digits of some million-digit prime.  Python's long ints
> don't help you there.  What does help you is figuring out a way
> to solve the problem that's not brute-force.  I think that's
> what Euler is all about.

I agree. The most interesting part of participating is finding
out how my solution could've been improved or just completely
replaced with zero programming in some memorable cases. My
algebra has gotten a major workout, and I've had to resurrect the
mostly-dead neurons in my skull in charge of calculus.

Participants sometimes come up with terrible failures that
nevertheless find the solution (I'm no exception, though I think
I learn my lesson in the discussion groups). It's a limitation of
the way answers are checked. Working to make a solution that's
complete and extensible yields the most educational benefits, I
think.

-- 
Neil Cerutti

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python is awesome (Project Euler) Roy Smith <roy@panix.com> - 2012-12-31 09:18 -0500
  Re: Python is awesome (Project Euler) "Alex" <foo@email.invalid> - 2012-12-31 16:46 +0000
    Re: Python is awesome (Project Euler) Grant Edwards <invalid@invalid.invalid> - 2012-12-31 17:36 +0000
    Re: Python is awesome (Project Euler) Roy Smith <roy@panix.com> - 2012-12-31 13:45 -0500
      Re: Python is awesome (Project Euler) Neil Cerutti <neilc@norwich.edu> - 2013-01-02 19:11 +0000
        Re: Python is awesome (Project Euler) Roy Smith <roy@panix.com> - 2013-01-02 21:38 -0500
  Re: Python is awesome (Project Euler) Ramchandra Apte <maniandram01@gmail.com> - 2013-01-02 05:12 -0800

csiph-web