Using the following theorem: The trigonometric polynomials ($\mathbb{C} \to \mathbb{C}$) are uniformly dense in $C(\mathbb{T})$ (functions $\mathbb{C} \to \mathbb{C}$ that are continuous and periodic with a period of $2\pi$.
Prove: For every continuous function $f:[-\pi,\pi]\to\mathbb{R}$ there exists a series of polynomials $\{P_n: \mathbb{R} \to \mathbb{R}\}$, such that: $P_n \to f$ uniformly.
Any help would be appreciated.