This is a very simple Palindrome checker in Python I just wrote it because I had never wrote one before, it was a lot simpler than I thought it would be (luxury of Python).
What is a Palindrome?
A Palindrome is a word that is the same when it is reversed for an example if I said "Cat" is a palindrome it is not because if you reverse it, it spells taC however if we have something like "Dad" in reverse it still spells "daD" so this is a palindrome.
print "What is the word you would like to check?" # Asks the user what word they would like to check. x = raw_input("> ") # User inputs the word. y = x[::-1] # reverses the string. if x.lower() == y.lower(): # checks if the strings match, this way it handles case sensitivity. print x,"is a palindrome!" # prints it is a palindrome else: # and if it's not a palindrome print x,"is not a palindrome!" # it will print it is not a palindrome!