...

/

All-true-ation

All-true-ation

We'll cover the following...

Let’s explore the all() function with empty containers.

Press + to interact
print(all([True, True, True]))
print(all([True, True, False]))
print("--------")
print(all([]))
print(all([[]]))
print(all([[[]]]))

Why’s this a True-False alteration?

Explanation

  • The
...