結果 : palindrome in python without using string function