valuation or ldegree takes as argument a polynomial given
by a symbolic expression or by the list of its coefficients.
valuation or ldegree returns the valuation of this
polynomial, that is the lowest degree of its non-zero monomials.
Input:
^
3+x)Output:
Input:
Output: