Two digits. Given a two-digit number, print its digits separately.
Input |
Output |
17 |
1 7 |
40 |
4 0 |
33 |
3 3 |
29 |
2 9 |
19 |
1 9 |
Python, Java
Two digits. Given a two-digit number, print its digits separately.
Input |
Output |
17 |
1 7 |
40 |
4 0 |
33 |
3 3 |
29 |
2 9 |
19 |
1 9 |