Yes. For the first space, topologize $\mathbb R$ by taking the intervals $(-\infty,r)$, $r\in \mathbb R$, for the nonempty proper open subsets. For the second space, take the subspace with underlying set $\mathbb Q$.
Keith Kearnes
- 14.6k
- 2
- 50
- 86