結果 : palindrome program in python without using built in functions