First time here? Check out the FAQ!
answered 9 years ago
sage: f.coefficients(sparse=False) [1, 1, 0, 1]
or
sage: f.list() [1, 1, 0, 1]