結果 : palindrome in python without using inbuilt function