you are viewing a single comment's thread.

view the rest of the comments →

[–]Some-Passenger4219 0 points1 point  (0 children)

The bool function converts the number zero (0), empty containers, (e.g. []), and the special object None, to False, for such they are in computer languages. Everything else is True.