Consider some $a \in [0, 1)$. We want to show that $\lim_{n \rightarrow \infty} \mathbb{P}[Y_n \le a] = a$. We will denote $\lfloor a \rfloor_n$ to be $a$ floored to the nearest $n$th digit in its decimal representation. It is clear then that $\mathbb{P}[Y_n \le a] = \mathbb{P}[Y_n \le \lfloor a \rfloor_n]$. Let us write the decimal representation of $\lfloor a \rfloor_n$ as $0.a_1a_2\ldots a_n00000\ldots$ Since each of the $X_i$ are i.i.d. and discrete uniform, it is clear that each $Y_n$, written as, $0.x_1x_2\ldots x_n 0000 \ldots$ with $x_j \in \{0, \ldots, 9\}$ is equally likely. Therefore, $\mathbb{P}[Y_n \le \lfloor a \rfloor_n]$ is precisely the number of integers less than or equal to $a_1a_2\ldots a_n$, which is $\lfloor a \rfloor_n$. Therefore,
$$ \mathbb{P}[Y_n \le a] = \lfloor a \rfloor_n$$
Taking limits on both sides we have,
$$ \lim_{n \rightarrow \infty} \mathbb{P}[Y_n \le a] = \lim_{n \rightarrow \infty} \lfloor a \rfloor_n = a$$