old_version/solver.py
def find_square(self, row_index: int, column_index: int) -> int:
        """
        Check which sudoku square contains a cell of provided coordinates
        :param row_index: row coordinate of recently filled cell
        :param column_index: column coordinate of recently filled cell
        :return: number of square which contains cell of provided coordinates
        """
        sq_number = 0
        while not (
                self.s.square_coordinates[sq_number][0] <= row_index < self.s.square_coordinates[sq_number][1]
                and
                self.s.square_coordinates[sq_number][2] <= column_index < self.s.square_coordinates[sq_number][3]
        ):
            sq_number += 1
        return sq_number

        Check which sudoku square contains a cell of provided coordinates
        :param row_index: row coordinate of recently filled cell
        :param column_index: column coordinate of recently filled cell
        :return: number of square which contains cell of provided coordinates
        
Check which sudoku square contains a cell of provided coordinates
Check which sudoku square contains a cell of provided coordinates
def find_square(self, row_index: int, column_index: int) -> int:
        sq_number = 0
        while not (
                self.s.square_coordinates[sq_number][0] <= row_index < self.s.square_coordinates[sq_number][1]
                and
                self.s.square_coordinates[sq_number][2] <= column_index < self.s.square_coordinates[sq_number][3]
        ):
            sq_number += 1
        return sq_number
def find_square ( self , row_index : int , column_index : int ) -> int : sq_number = 0 while not ( self . s . square_coordinates [ sq_number ] [ 0 ] <= row_index < self . s . square_coordinates [ sq_number ] [ 1 ] and self . s . square_coordinates [ sq_number ] [ 2 ] <= column_index < self . s . square_coordinates [ sq_number ] [ 3 ] ) : sq_number += 1 return sq_number
Check which sudoku square contains a cell of provided coordinates
Check which sudoku square contains a cell of provided coordinates
"""
        Check which sudoku square contains a cell of provided coordinates
        :param row_index: row coordinate of recently filled cell
        :param column_index: column coordinate of recently filled cell
        :return: number of square which contains cell of provided coordinates
        """
number of square which contains cell of provided coordinates
number of square which contains cell of provided coordinates
self
row_index
int
row coordinate of recently filled cell
row coordinate of recently filled cell
column_index
int
column coordinate of recently filled cell
column coordinate of recently filled cell