結果 : write a program to check if a string is palindrome in python