answered 5 years ago
Like this
sage: x, y = LaurentPolynomialRing(QQ, 'x,y').gens() sage: f = x+2/y sage: list(f) [(1, x), (2, y^-1)]