Therefore whatever happens, the function will always output the square root of an integer. But can the function output the value of any integer? For instance, is there an $(n, m)$ with $n \geq 2m$ such that $f((n, m)) = \sqrt{7}$? What about $\sqrt{42}$?
This is important, because you can't just say that the range of the function is $\mathbb{R}$ - that is not true (for instance, the function can never return $\sqrt{0.5}$, which is a real number). In your case, here's something you can use - what if you set $m$ to zero? Then let $n$ be any positive integer, such that $n \geq 2m$ or $n \geq 0$ be satisfied, and you get $f((n, 0)) = \sqrt{n}$ for any non-negative integer $n$, which shows that in fact, there exists an $(n, m)$ with $n \geq 2m$ such that $f((n, m)) = \sqrt{k}$ for any non-negative integer $k$, which is just $(k, 0)$. No further work is required - we've covered all possible outputs, since we have established earlier than $n - 2m$ (what is under the square root) must be a non-negative integer either way.
So the range of the function, in this case, is:
$$\{ \sqrt{k} : k \in \mathbb{Z}^* \}$$
Where $\mathbb{Z}^*$ denotes the non-negative integers $0, 1, 2, \cdots$. As you can see, this is a subset of $\mathbb{R}$, but is not the same as $\mathbb{R}$ - there are many reals that are not in this set, but all elements of this set are reals.
In this case it was relatively easy to work out the range because of the integer restriction, but in many cases it is difficult, and often impossible (there are infinitely many "gaps" in the output values the function can assume, and it's not possible to describe them all in a simple manner). So in many cases, we just say the range of $f : X \to Y$ is just $\{ f(x) : x \in X \}$, which says the same thing but gives us less insight into how the function behaves.