Python Boolean Values
Python Boolean Values In Python, bool is a subtype of the int type. A bool object has two possible values and is initialized using the Python keywords True and False. >>> a=True >>> b=False >>> type(a), type(b) (<class 'bool'>, <class…