Let $O \subset \mathbb{C}$ be a region containing the closure of a ball $B := D(a, r)$. Assume $f$ is analytic on $O$ with $|f|$ constant on $\partial B$. Show that $f$ has a zero in $B$.
I feel like the Argument Principle is useful here, but I'm not sure how to use it. I can assume $f$ has no zero in $B$ and conclude that $f'/f$ is analytic on $B$. We have $\int_{\partial B} f'/f = 0$ by Argument Princ. and really by the fact that $f'/f$ is analytic.
The other option is max modulus principle, but I'm not quite sure.