def rut(self, min: int = minimum_rut_person, max: int = maximum_rut_company) -> str:
        """
        Generates a RUT within the specified ranges, inclusive.

        :param min: Minimum RUT to generate.
        :param max: Maximum RUT to generate.
        :return: a random Chilean RUT between 35.000.000 and 99.999.999
        """

        digits = self.random_int(min, max)
        check = rut_check_digit(digits)
        return self.rut_format.format(digits, check).replace(",", ".")

        Generates a RUT within the specified ranges, inclusive.

        :param min: Minimum RUT to generate.
        :param max: Maximum RUT to generate.
        :return: a random Chilean RUT between 35.000.000 and 99.999.999
        
faker/providers/ssn/es_CL/__init__.py