I just learned there are truthy and falsy values in python which are different from the normal True and False.
True
False
Truthy values refer to the objects used in a boolean context and not so much the boolean value that returns true or false.Take these as an example:
>>> bool([]) False >>> bool([1]) True >>> bool('') False >>> bool('hello') True