結果 : palindrome program in python without using reverse function