結果 : palindrome program in python without using string functions