Skip to main content
2 of 2
added (examples) tag - since the question basically asks for list of examples of pairs of spaces with given properties

Connected $T_2$-spaces with only constant maps between them

If $f:\mathbb{R}\to\mathbb{Q}$ is continuous, then it is constant. Are there infinite connected $T_2$-spaces $X,Y$ such that the only continuous maps $f:X\to Y$ are the constant maps?