I am writing a script in which i have to test numbers against a number of conditions. If any of the conditions are met i want to return True an
True
JoshiRaez is the actual correct answer.
Here is an example
a = [] any([True, a[0]])
will fail
On the other side, using OR (or AND) will not fail since its not a function:
a = [] True or a[0]