Skip to main content
2 of 3
added 144 characters in body
Francesco Polizzi
  • 66.3k
  • 5
  • 180
  • 283

It is known that the Cantor set minus a point is (up to homeomorphisms) the unique zero-dimensional separable metric space without isolated points that is locally compact and not compact. In particular, the Cantor set minus a point is homeomorphic to the Cantor set minus two points (or minus any finite number of points).

Now you can take as $X$ the Cantor set and as $Y$ the Cantor set minus a point.

See also this math.stackexchange question.

Francesco Polizzi
  • 66.3k
  • 5
  • 180
  • 283