Fredrik Lundh wrote:

>> What is a *nice* way of doing it?
> 
> r = [i for i in e if i not in l]

and swap l and e, add a few calls to lower, and start using better 
variable names in the future.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to