Consider the map $\varphi$ from $A = \prod_{n = 1}^{\infty}\{ x \in \mathbb{Z} \mid 0 \leq x \leq 9 \}$ to $[0, 1]$ such that $$ \varphi : (a_{1} , a_{2}, \dots) \mapsto 0.a_{1}a_{2}\dots $$ Since $A$ is countable, and $\varphi$ is surjective (every real number in $[0, 1]$ has a decimal representation), $[0, 1]$ is also countable, which is not the case, what's wrong with the reasoning?
Edit: $A$ is uncountable. I thought that countable union of countable sets is countable, however in this case it's the countable product of countable set rather than union, it's the assumption that's wrong, not the conclusion.