All-true-ation
Let’s explore the all()
function with empty containers.
Python 3.5
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