📅  最后修改于: 2022-03-11 14:58:21.793000             🧑  作者: Mango
string=input(("Enter a string:"))
if(string==string[::-1]):
print("The string is a palindrome")
else:
print("Not a palindrome")