If $\Omega\in \mathbb{R^n}$ is a connect open set,function $f:\Omega \to \mathbb{R}$ is continious and locally constant. Prove:$f$ is constant function.
I try to construct a "path" to connect $x$ and $y$, but in fact $E$ is not path connected,so this can't work.