'Ordered list of polynomial coefficients.
Parameters
order : :class:`Order` or coercible, optional
Examples
>>> from sympy.polys.rings import ring
>>> from sympy.polys.domains import ZZ
>>> from sympy.polys.orderings import lex, grlex
>>> _, x, y = ring("x, y", ZZ, lex)
>>> f = x*y**7 + 2*x**2*y**3
>>> f.coeffs()
[2, 1]
>>> f.coeffs(grlex)
[1, 2]'

def coeffs(self, order=None):

    return [coeff for (_, coeff) in self.terms(order)]
