The bool() function converts the given value to a boolean value ( True or False ) . If the given value is False, the bool function returns False else it returns True.
The bool() function converts the given value to a boolean value ( True or False ) . If the given value is False, the bool function returns False else it returns True.