operation name less than greater than less than or equal greater than or equal equal not equal logical and logical or logical not operator <>==and or not explanation less than operator greater than operator less than or equal to operator greater than or equal to operator equality operator not equal operator both operands true for result to be true either operand true for result to be true negates the truth valuefalse becomes truetrue becomes false table relational and logical operators print( + * # print(( + )* # print( ** # print( / # print( / # print( // # print( % # print( / # print( // # print( % # print( ** the boolean data typeimplemented as the python bool classwill be quite useful for representing truth values the possible state values for boolean object are true and false with the standard boolean operatorsandorand not true true false false false or true true not (false or truefalse true and true true boolean data objects are also used as results for comparison operators such as equality (==and greater than (>in additionrelational operators and logical operators can be combined together to form complex logical questions table shows the relational and logical operators with examples shown in the session that follows print( = print( review of basic python