answered 8 years ago
Hint: if P is your polynomial, you should ask for its coefficients, you will get a list, the last element of that list is the leading coefficient.