Let $f$ be continuous on a domain (open and connected), $D$. Now suppose that for every $z_0 \in D$, there exists $B_\delta (z_0)$ such that $f(z)$ is constant in $B_\delta (z_0)$. Show that $f$ is constant in $D$.
I don't know if this is correct, but allow me to share my thoughts. If $f$ is continuous on $D$, then $f$ is continuous on every $z_0 \in D$. Define an open ball, $B_\delta (z_0)$, such that $f(z) = K$, for all $z \in B_\delta (z_0)$.
Since $D$ is a region, it is connected, then $D\ne S_1 \cup S_2$, where $S_1 \cap S_2 = \emptyset$. Then, $D$ is the union of open balls that are not disjoint. Hence $f(z)$ is constant in $D$.
By the assumptions, $D$ must be path connected. So let $x,y \in D$ and $\gamma : [0,1] \to D$ be a path connecting them. Then the image of $\gamma$ is compact and hence there are $x_1,\cdots,x_n \in D$ such that $$ \mathrm{Im}(\gamma) \subset \bigcup_{i=1}^n B(x_i,\delta_i), $$ where $f$ is constant on each of the $B(x_i,\delta_i)$. Now you see that $f(x) = f(y)$.