So here is my question: I need to prove that a continuous function $f: M \mapsto \mathbb{Z}$, is constant provided that M is connected.
I am having trouble understanding this statement; if I set M = $\mathbb{R}$, how is $f$ constant?
Am I misinterpreting the question?
Thanks.