def logical_or ( self , other ) : return self . operation ( other , lambda x , y : int ( x or y ) )
how to write python exclusive or
logical_or ( t ) = self ( t ) or other ( t ) .
def logical_or(self, other):
        """logical_or(t) = self(t) or other(t)."""
        return self.operation(other, lambda x, y: int(x or y))