add-a-gram

Bengt Richter bokr at oz.net
Wed Feb 20 03:34:10 EST 2002


On 19 Feb 2002 18:15:51 -0800, Paul Rubin <phr-n2002a at nightsong.com> wrote:

>caljason76 at yahoo.com (Jason) writes:
>> Here is a puzzle that was floating around comp.lang.lisp, and I was
>> wondering what a Python solution would be.  I am still learning Python
>> and am very curious how Python solutions differ from other languages,
>> like Perl or C.  Are there some set of maxims to the Python
>> programmer, and are there Python idioms for problem solutions?
>> 
>> Appended to the message is the problem, you can find the problems and
>> word list http://www.itasoftware.com/careers/programmers.php
>
>I did both of those problems (add-a-grams and nine 9's) in Python but
Me too, but my first translation of the mystery fcn blew the stack and
I jumped to a wrong conclusion *<8^( Still haven't gotten back to it.

>I don't feel it's appropriate to publish the solutions right now.  If
>you want to see my solutions I'll send them to you by email.
If your answer for nine 9's was less than 200 using Python, you have
some more fun coming ;-)

Regards,
Bengt Richter




More information about the Python-list mailing list