python coding contest

Tim Hochberg tim.hochberg at ieee.org
Fri Dec 30 20:51:51 CET 2005


Shane Hathaway wrote:
> André wrote:
> 
>>For the few that might be interested, I will be posting the details of
>>a 117 character long solution to the challenge on my blog
>>http://aroberge.blogspot.com/.
>>
>>Enjoy!
> 
> 
> You took advantage of prime numbers, enabling you to extract encoded 
> information using a single modulus operation rather than shift and mask. 
>   Brilliant strategy.  Congratulations.

Indeed. Very impressive. And thanks for posting, it was driving me nuts.

Now I wonder if this could be adapted to the other, three loop strategy? 
It's not clear, but there are three characters that are superfulous in 
the current incarnation of that. Hmmm..........

-tim




More information about the Python-list mailing list