OT: Cryptography puzzle

David Fraser davidf at sjsoft.com
Wed Jun 2 09:52:58 CEST 2004


Greg Ewing wrote:
> Christian Gudrian wrote:
> 
>> And what about the 'ss' in 'ssfd'?  I don't know many languages that 
>> allow
>> words to start with two identical letters.
> 
> 
> Obviously it's "my hovercraft is full of eels" with
> several spelling mistakes.
> 

The attached program shows that there is no one-to-one mapping of 
characters that will result in this string matching words from 
/usr/share/dict/words (at least on my machine)

Could be faster/neater/more elegant but there you go

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mapletters.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20040602/f66f64be/attachment.ksh>


More information about the Python-list mailing list