Prove that $X=\{(x,y) :x\text{ is rational or }y\text{ is rational}\}$ is path connected.
So for every $(x,y)$ in $X$, I need to find a continuous function $f$ on $[a,b]$ such that $f(a)=x$ and $f(b)=y$.
Trying to think about suitable functions, maybe one which sends everything to nearest rational. But don't think such a function exists.