old_version/solver.py
def check_occurences(self) -> bool:
        """
        Checks if every row, column and square contains only one occurrence of number.
        :return: True if sudoku is valid, otherwise False
        """
        if self.check_if_one_occurence_of_digit(self.s.rows):
            if self.check_if_one_occurence_of_digit(self.s.columns):
                if self.check_if_one_occurence_of_digit(self.s.squares):
                    return True
        return False

        Checks if every row, column and square contains only one occurrence of number.
        :return: True if sudoku is valid, otherwise False
        
Checks if every row, column and square contains only one occurrence of number.
Checks if every row column and square contains only one occurrence of number .
def check_occurences(self) -> bool:
        if self.check_if_one_occurence_of_digit(self.s.rows):
            if self.check_if_one_occurence_of_digit(self.s.columns):
                if self.check_if_one_occurence_of_digit(self.s.squares):
                    return True
        return False
def check_occurences ( self ) -> bool : if self . check_if_one_occurence_of_digit ( self . s . rows ) : if self . check_if_one_occurence_of_digit ( self . s . columns ) : if self . check_if_one_occurence_of_digit ( self . s . squares ) : return True return False
Checks if every row, column and square contains only one occurrence of number.
Checks if every row column and square contains only one occurrence of number .
"""
        Checks if every row, column and square contains only one occurrence of number.
        :return: True if sudoku is valid, otherwise False
        """
True if sudoku is valid, otherwise False
True if sudoku is valid otherwise False
self