結果 : reverse string leetcode python solution