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