The graph of the function is shown below
The range of a function is the set of all output values (Y-values).
From the graph, the graph is discontinuous on y= 0
Hence there is no output at y = 0
This implies that the range of the function is all real numbers except y = 2
That is
