13142 - Reverse string order
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
Description
Given a string S, output the reverse of S.
Note that, in Python Language, you can use the function len() to get the number of characters of a string.
Input
A line of string
Output
The reversed string
Tags