First time here? Check out the FAQ!
answered 2020-01-11 17:41:58 +0100
Like this
sage: x, y = LaurentPolynomialRing(QQ, 'x,y').gens() sage: f = x+2/y sage: list(f) [(1, x), (2, y^-1)]