This question is from my topology assignment and I am struck on it.
Give an example of a compact metric space $(X,d)$ , a topological space $(Y,\mathcal{U})$ that is not Hausdorff and a continuous function $f$ that maps $X$ onto $Y$.
Topological space can be taken $Y=\mathbb{N}$ under usual topology. But I am not able to decide $(X,d)$ as compact so that a continuous function exists.
If I take Euclidean metric $d$ then I have to take a closed and bounded subset but I am not able to then find a continuous function then.
Kindly guide!