# coefficient function in sage

I want to compute the coefficient of certain polynomial but he coefficient function in sage gives me back for the coefficient of X^0 that is for any polynomial f f.coefficient(x^0) = 0 Can you some suggest how to change this thing in sage library ?

Could you please provide an example on how you construct

`f`

?What does

`f.coefficients()`

give you?