Find an example of a metric subspace $ X$ of $\Bbb R$ in which : Every open set in $X$ is an open set in $\Bbb R$ , but not every closed set in $X$ is a closed set in $\Bbb R$.
I thought that i can take the set of rational numbers $\Bbb Q$ but im not sure if the conditions hold , :( please help me .