By Picard's little theorem, the image of a non-constant entire function is either $\mathbb{C}$ or $\mathbb{C}\setminus \{a\}$ for some $a\in\mathbb{C}$.
Ultimately, that is because the modular function $\lambda$ is a covering $\lambda \colon \mathbb{H} \to \mathbb{C}\setminus \{0,1\}$ where $\mathbb{H}$ is the upper half-plane, so by general properties of coverings, since $\mathbb{C}$ is simply connected, every entire function with values in $\mathbb{C}\setminus \{0,1\}$ lifts to an entire functions with values in $\mathbb{H}$ and is therefore constant. If the values of an entire function lie in $\mathbb{C}\setminus \{a,b\}$ with $a\neq b$, a linear transformation puts us in the situation $a = 0,\, b = 1$.