結果 : palindrome without using string function in python