(number)
A perfect number equals the sum of its positive divisors.

    :param number: int a positive integer
    :return: str the classification of the input integer
A perfect number equals the sum of its positive divisors.
A perfect number equals the sum of its positive divisors .
def classify(number):
    """ A perfect number equals the sum of its positive divisors.

    :param number: int a positive integer
    :return: str the classification of the input integer
    """

    if number <= 0:
        raise ValueError('Classification is only possible for positive integers.')

    aliquot_sum = sum(divisor_generator(number)) + (1 if number > 1 else 0)

    if aliquot_sum < number:
        return 'deficient'
    elif aliquot_sum == number:
        return 'perfect'
    else:
        return 'abundant'
def classify ( number ) : if number <= 0 : raise ValueError ( 'Classification is only possible for positive integers.' ) aliquot_sum = sum ( divisor_generator ( number ) ) + ( 1 if number > 1 else 0 ) if aliquot_sum < number : return 'deficient' elif aliquot_sum == number : return 'perfect' else : return 'abundant'