return out[:separator], out[separator:] # Return quotient, remainder. See also Euclidean domain Greatest common divisor of two polynomials Gröbner basis Horner scheme Polynomial remainder theorem Ruffini's rule References External links Computer algebra Division (mathematics) Polynomials