solver.py
def eliminate(self, value):
        """
        Eliminate a value from the cell's possibilities

        Parameters
        ----------
        value : int
            Value to eliminate from possibilities

        Returns
        -------
        int
            If there remains only one possibility, return it. Otherwise, 0.
        """
        if len(self.possibilities) == 1 and self.possibilities[0] == value:
            raise ClashException('Tried to eliminate the only possible value from a cell')

        try:
            self.possibilities.remove(value)
            return self.value
        except ValueError:
            return 0

        Eliminate a value from the cell's possibilities

        Parameters
        ----------
        value : int
            Value to eliminate from possibilities

        Returns
        -------
        int
            If there remains only one possibility, return it. Otherwise, 0.
        
Eliminate a value from the cell's possibilities
Parameters

value : int
Value to eliminate from possibilities

Returns

int
If there remains only one possibility, return it. Otherwise, 0.
Eliminate a value from the cell ' s possibilities Parameters value : int Value to eliminate from possibilities Returns int If there remains only one possibility return it . Otherwise 0 .
def eliminate(self, value):
        if len(self.possibilities) == 1 and self.possibilities[0] == value:
            raise ClashException('Tried to eliminate the only possible value from a cell')
        try:
            self.possibilities.remove(value)
            return self.value
        except ValueError:
            return 0
def eliminate ( self , value ) : if len ( self . possibilities ) == 1 and self . possibilities [ 0 ] == value : raise ClashException ( 'Tried to eliminate the only possible value from a cell' ) try : self . possibilities . remove ( value ) return self . value except ValueError : return 0
Eliminate a value from the cell's possibilities
Parameters
Eliminate a value from the cell ' s possibilities Parameters
"""
        Eliminate a value from the cell's possibilities

        Parameters
        ----------
        value : int
            Value to eliminate from possibilities

        Returns
        -------
        int
            If there remains only one possibility, return it. Otherwise, 0.
        """
self
value