Let $f$ be a continuous mapping from $(\mathbb [0,1],\mathcal T_{st})$ to $(\mathbb N,\mathcal T_c)$, where $\mathcal T_{st}$ and $\mathcal T_c$ indicate, respectively, the standard topology and the cofinite topology. Prove $f$ is constant, that is, its image is a singleton.
I have thought about this a lot, but have gotten nowhere. I suspect Baire's theorem should come into play. Can anyone please help?