結果 : palindrome string program in python using for loop