To
declare a Boolean variable, we use the keyword
bool.
bool b; To
initialize or assign a true or false value to a
Boolean variable, we use the keywords true and false.
Boolean values are not actually stored in
Boolean variables as the words \u201ctrue\u201d or \u201cfalse\u201d.
Jun 9, 2007');})();(function(){window.jsl.dh('_l16HYLrMDO_L0PEP5JGz8AU47','
');})();(function(){window.jsl.dh('13','
Also, a numeric value of zero (integer or fractional), the null value ( None ), the empty string, and empty containers (i.e. lists, sets, etc.) are considered Boolean false; all other values are considered Boolean true by default.