 Hi again, in this lesson we're going to talk about that how to write a function for palindrome in python programming language. We're going to write just a function for checking if a word is palindrome. Word is a palindrome if sequence of characters in that word is the same backward or forward. So let's define our function. Let's call it palindrome and let's put as an argument of our function one word that might be palindrome. So we'll say palindrome word will be the name of our argument and inside our function we want to check if the original word is the same as that reversed word. So our original word is palindrome word so if our original word palindrome word is the same as our palindrome word reversed we want to reverse our palindrome word. We will use this code to reverse our palindrome word and if this is the case that reversed word is the same as original word then our function will return true value and else our function will return false value. So let's call our function and let's check few words. For example let's check if Anna is palindrome. Of course it is because Anna if you read it forward or backward you will have the same sequence of characters. Let's check for example New York. New York is not palindrome. Let's find another one. For example let's say madam. Madam is palindrome. Let's say for example auto. It's again palindrome and so on you get the point. So that's all in this lesson. Thanks for watching. See you in some next lesson.