class Solution: def solve(self , str ): listStr = list(str) listStr.reverse() return ''.join(listStr)