(number)
Returns an unordered list of divisors for n (1 < number).

    :param number: int a positive integer
    :return: list of int divisors
Returns an unordered list of divisors for n (1 < number).
Returns an unordered list of divisors for n ( 1 < number ) .
def divisor_generator(number):
    """Returns an unordered list of divisors for n (1 < number).

    :param number: int a positive integer
    :return: list of int divisors
    """

    for index in range(2, int(math.sqrt(number)) + 1):
        if number % index == 0:
            yield index
            if index * index != number:
                yield number // index
def divisor_generator ( number ) : for index in range ( 2 , int ( math . sqrt ( number ) ) + 1 ) : if number % index == 0 : yield index if index * index != number : yield number // index