結果 : palindrome or not in python using while loop