bool() function in Python
Introduction
The bool() function converts a value to Boolean (True or False). If no value is passed to it, it returns False.
The syntax of bool() function is:
bool([value])
where value can be integers, sequence, mapping, etc.
Return Values
bool() fu...
blog.ashutoshkrris.in1 min read