Checking a string is palendrome

what is palindrome?


i=input("enter text ")

if i==i[::-1]:

print("given string is palindrome")

else:

print("given string is not palindrome")