Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can do something like this

sage: f = 1/(x-3/2)
sage: g = f.denominator()
sage: f.coeff(f.denominator(), -1) / g.leading_coeff(x)
1