Answer
$\frac{1}{n\pi }(1-\cos (n\pi)).$
Work Step by Step
The average is given by
$$
\frac{1}{\pi-0} \int_{0}^{\pi} \sin(nx) d x=\frac{1}{n\pi } \int_{0}^{\pi} n\sin(nx) d x\\=-\left.\frac{1}{n\pi } \cos(nx) \right|_{0} ^{\pi}=\frac{1}{n\pi }(1-\cos (n\pi)).
$$