結果 : string palindrome in python without using inbuilt function