I'm trying to compare a string and check if it is palindrome or not. I'm using the next method:
name = input("Enter your string")
name1 = name[-1::-1]
if(name==name1):
print("True")
else:
print("False")
but it always shows me False
has anyone idea why its not working properly?