On Apr 3, 2:27 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
...
> It's even prettier in 2.5:
>
> any(word in name for word in words)
>
> George

And arguably the most readable yet!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to