degree takes as argument a polynomial given by its symbolic representation or by the list of its coefficients. degree returns the degree of this polynomial (highest degree of its non-zero monomials). Input :
^
Output :
Input :