My teacher said that $2\pi$ the period of $e^{iz}$. I tried to show this but I am not sure how to continue
$$e^{iz+2\pi}=e^{ix+2\pi-y}=e^{2\pi-y}(\cos x+i\sin x)$$
But I am not sure how this equals
$$e^{-y}(\cos x+i\sin x)=e^{-y+i x}=e^{iz}$$
Is $2\pi$ the period of $e^{iz}$?