This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] A toss succeeds with probability $p=\frac{n-1}n$. The number of tosses is geometric with mean $\frac1p=\frac n{n-1}$. $\frac n{n-1}=\frac n9\Rightarrow n-1=9\Rightarrow n=10$. Answer: 10.