Arnaud Delobelle wrote:
  return any( not val for val in value_list )

This is the same as:

    return not all(value_list)

Yes, I should have remembered De Morgan's Theorem. Thanks!

-John

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

Reply via email to