Reverse three digits. Given a three-digit integer number, print its digits in a reversed order.
Input |
Output |
179 |
971 |
123 |
321 |
444 |
444 |
731 |
137 |
957 |
759 |
Python, Java
Reverse three digits. Given a three-digit integer number, print its digits in a reversed order.
Input |
Output |
179 |
971 |
123 |
321 |
444 |
444 |
731 |
137 |
957 |
759 |