How do you write a polynomial in standard form given the zeros x=3,3,3?

$p \left(x\right) = \left(x - 3\right) \left(x - 3\right) \left(x - 3\right) = {\left(x - 3\right)}^{3} = {x}^{3} - 9 {x}^{2} + 27 x - 27$
x=3,3,3 means $\left(x - 3\right) \left(x - 3\right) \left(x - 3\right) = {\left(x - 3\right)}^{3}$then just multiply it out or use pascal's triangle to expand it.