結果 : string palindrome python code