# Any() and All()

# All()

All()

Sometime, we would want to have a different output only if either all the conditions are met and sometimes, we would want the output only if at least one condition is met. First, let's work on what if all the conditions are met. Yes, this is possible and the function we use is called **all(). **This function returns out custom output only if every conditions has been returned True. To illustrate this function. I will be adding boolean operators on to a list and check to see how this works.

## In what cases does this function come true?

In what cases does this function come true?

## In what cases does this function come false?

In what cases does this function come false?

# Any()

Any()

This Python function return only if at least one condition is True.

## In what cases does this function return True?

In what cases does this function return True?

## In what cases does this condition return False

In what cases does this condition return False