📜  回文检查器 python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.606000             🧑  作者: Mango

代码示例4
mes=input("Enter the word and see if it is palindrome ")
if mes==mes[::-1]:
    print("This word is palindrome")
else:
    print("This word is not palindrome")