Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Like this

sage: x, y = LaurentPolynomialRing(QQ, 'x,y').gens()
sage: f = x+2/y
sage: list(f)
[(1, x), (2, y^-1)]