Test if list contains another list

str1442 lancerstr at freenet.de
Sun Nov 16 18:45:15 EST 2008


Ali wrote:
> Its funny, I just visited this problem last week.
>
> <http://dulceetutile.blogspot.com/2008/11/strange-looking-python-
> statement_17.html>
>
> ./Ali
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
>   
That use of reduce is nice, but you better use all() / any().



More information about the Python-list mailing list