On Jul 8, 7:43 pm, lex <[EMAIL PROTECTED]> wrote:
> Of course there is the always the iteration method:
>
> list = [1, True, True, False, False, True]
> status = True
> for each in list:
>     status = status and each
>
> but what is your best way to test for for False in a list?


False in list





i.e. for a list N

if False in N:
    # do something with N..

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

Reply via email to