Python passes the Turing test with a one-liner !
Jon Perez
jbperez808 at yahoo.com
Thu Apr 1 18:08:30 EST 2004
Morris Carré wrote:
>
> filter(lambda W : W not in 'ILLITERATE','BULLSHIT')
>
The list comprehension version:
[p for p in 'BULLSHITTER' if p not in 'ILLITERATE']
More information about the Python-list
mailing list