What is the range of y= sec-'(x)? PreCal, send help please!!

Given:
The function is:
[tex]y=\sec^{-1}(x)[/tex]
To find:
The range of the given function.
Solution:
We have,
[tex]y=\sec^{-1}(x)[/tex]
The range of secant inverse function is:
[tex]Range=\{y|0\leq y\leq \pi , y\neq \dfrac{\pi}{2}\}[/tex]
The range of the given function in interval notation is:
[tex]Range=\left[0,\dfrac{\pi}{2}\right)\text{ and }\left( \dfrac{\pi}{2}, \pi\right ][/tex]
Therefore, the correct option is C.