Let $ z \in (0,1) ^ n $. We can express this "$ z $" as a $ n $ -tuple of real numbers $ z = (z_1, z_2, \ldots ,z_n) $, where each $ z_i $ will have its infinite decimal expansion.
We can write:
$\begin{align*}z_1&=0,z_{11}z_{12} \ldots z_{1n} \ldots\\ z_2&=0,z_{21}z_{22}\ldots z_{2n}\ldots \\ \ldots \\ z_n&=0,z_{n1}z_{n2}\ldots z_{nn}\ldots \end{align*}$
If we now take the decimals of this arrangement according to the Cantor diagonal method, we obtain $$y=0,z_{11}z_{21} z_{12}z_{13}z_{22} \ldots \in (0,1)$$ Having that function, how is it shown that this is a bijection? To have $ | (0,1) ^ n | = | (0,1) | $