I have trouble making this program because I don't know how to make it so the program will ignore capitalization. I used .lower but I think I'm inserting it wrong.
word=input("Give me a word to detect if it is a palindrome")
word=str(word)
if word.lower[::-1]=word :
print("That's a palindrome")
else:
print("Sorry this isn't a palindrome")