word = input(print("Enter a word: ")) if word == (word [::-1]): print(word, "is a palindrome :D") else: print(word, "is not a palindrome D:") #i just had to learn the [::-1] to play around and figure out how this was made