What is an example of a connected $T_2$-space $(X,\tau)$ with $X$ infinite and the following property?
If $\alpha \leq |X|$ is a non-empty cardinal, then there is a continuous map $f:X\to X$ such that $|f^{-1}(\{y\})| = \alpha$ for all $y\in X$.
What is an example of a connected $T_2$-space $(X,\tau)$ with $X$ infinite and the following property?
If $\alpha \leq |X|$ is a non-empty cardinal, then there is a continuous map $f:X\to X$ such that $|f^{-1}(\{y\})| = \alpha$ for all $y\in X$.