Proof (sequential definition of continuity)

=>: Suppose $f$ is continuous at $a$. Then for all $\epsilon>0$, there exists $\delta>0$ such that if $z\in E$ and $|z-a|<\delta$, we have $|f(z) - f(a)| < \epsilon$.

Since $z_n\to a$, there exists $N$ such that for all $n\geq N$, $|z_n - a| < \delta$. Then from continuity, $|f(z) - f(a)| < \epsilon$. Hence $f(z_n)\to f(a)$.

<=: Suppose $f$ is discontinuous at $a$. This means there exists $\epsilon>0$ such that for all $\delta>0$, there exists $z\in E$ with $|z-a|<\delta$ and $|f(z) - f(a)| \geq \epsilon$.

Apply this with $\delta=1,1/2,1/3,\ldots$ to construct $z_n\in E$ with $|f(z_n) - f(a)| \geq \epsilon$ and $|z_n - a| < 1/n$.

Thus $z_n\to a$ but $f(z_n)\not\to f(a)$.