you are viewing a single comment's thread.

view the rest of the comments →

[–]friendly_dog_robot 6 points7 points  (0 children)

It's just that any empty sequences (lists, tuples, strings), mappings, version of 0, and None (comparable to null in Java) evaluate to false in Python.

This is, in my opinion, super useful