Write a function that takes a string as input and returns the string reversed.
Example:
Given s = “hello”, return “olleh”.
简单解释:反转字符串
Solution[Python]:
class Solution(object):
def reverseString(self, s):
"""
:type s: str
:rtype: str
"""
return s[::-1]