old_version/solver.py
def fill_element(self, element: SudokuElement) -> None:
        """
        For element with 8 digits already in place, find last number and insert into blank cell.
        Also upadte statistics of row, column and square containing filled cell.
        :param element: row, column or square
        :return: None
        """
        if element.completed:
            return None
        if element.digits == 8:
            array = self.s.array[element.row_start:element.row_stop, element.column_start:element.column_stop]
            row_index, column_index = self.get_zero_coordinate(array, element.row_start, element.column_start)
            digit = self.find_last_digit(array)
            self.insert_digit(digit, row_index, column_index)
        return None

        For element with 8 digits already in place, find last number and insert into blank cell.
        Also upadte statistics of row, column and square containing filled cell.
        :param element: row, column or square
        :return: None
        
For element with 8 digits already in place, find last number and insert into blank cell.
Also upadte statistics of row, column and square containing filled cell.
For element with 8 digits already in place find last number and insert into blank cell . Also upadte statistics of row column and square containing filled cell .
def fill_element(self, element: SudokuElement) -> None:
        if element.completed:
            return None
        if element.digits == 8:
            array = self.s.array[element.row_start:element.row_stop, element.column_start:element.column_stop]
            row_index, column_index = self.get_zero_coordinate(array, element.row_start, element.column_start)
            digit = self.find_last_digit(array)
            self.insert_digit(digit, row_index, column_index)
        return None
def fill_element ( self , element : SudokuElement ) -> None : if element . completed : return None if element . digits == 8 : array = self . s . array [ element . row_start : element . row_stop , element . column_start : element . column_stop ] row_index , column_index = self . get_zero_coordinate ( array , element . row_start , element . column_start ) digit = self . find_last_digit ( array ) self . insert_digit ( digit , row_index , column_index ) return None
For element with 8 digits already in place, find last number and insert into blank cell.
For element with 8 digits already in place find last number and insert into blank cell .
"""
        For element with 8 digits already in place, find last number and insert into blank cell.
        Also upadte statistics of row, column and square containing filled cell.
        :param element: row, column or square
        :return: None
        """
None
self
element
SudokuElement
row, column or square
row column or square