Python favours letters and meaningful keywords for the logical operators, and all of them return a value depending on the conditions: not: The opposite of a condition, the reverse of the logical state of its operand. If the condition is True, it returns False, or vice versa. and: It needs to compare two operands, It returns True if both operands are True. or: It’s similar to and, but it returns True if at least one of the operands is True.