Newbie looking for elegant solution

Ben Finney ben+python at benfinney.id.au
Wed Mar 25 01:28:35 EDT 2015


Chris Angelico <rosuav at gmail.com> writes:

> Of course, this does mean installing numpy. It is crushing the nut
> with the triphammer - an absurd extravagance of energy, but the nut is
> effectively crushed all the same.

It also has the advantage that it hopefully won't be acceptable for a
homework assignment.

Whether homework assignment or not, the original poster is well advised
to try the problem themselves, and present their code for us to discuss.

-- 
 \             “Skepticism is the highest duty and blind faith the one |
  `\               unpardonable sin.” —Thomas Henry Huxley, _Essays on |
_o__)                                   Controversial Questions_, 1889 |
Ben Finney




More information about the Python-list mailing list