module documentation

Provides a simple function factors(n) that returns a generator of factors of integer.

Function factors Generate the factors of integer n.
def factors(n):

Generate the factors of integer n.