Learning Scientific Programming with Python (2nd edition)
Q2.4.5: any(x) and not all(x)
Question Q2.4.5
For what iterable sequences, x, does the expression
any(x) and not all(x)
evaluate to True?
Learning Scientific Programming with Python (2nd edition)
For what iterable sequences, x, does the expression
any(x) and not all(x)
evaluate to True?