In an algebraic expression , if the powers of the variable are whole numbers then the algebraic expression is a polynomial
$$10 = 10 \times 1 = 10 x ^{0}$$
Here , the power of x is 0 , which is a whole number . So , 10 is a polynomial ( or constant polynomial ).