 Hi everyone, in this tutorial you will learn how to check if two strings are anagrams in Python. Here we have two words and in this example we want to check if these two words are anagrams. The main idea of this algorithm is to use sorted function. Sorted function is gonna return alphabetically sorted list from the letters in a string. I'm gonna show you how that works on this example. I'm gonna print the result of this sorted function. We're gonna sort this first word and we get a list with alphabetically sorted letters from this word. So we want to check if the list of alphabetically sorted letters from first word is exactly the same as a list of sorted letters from the second word and if that is the case then these two words are anagrams and if it's not the case then these two words are not anagrams. Obviously these two words are anagrams but we're gonna check if our program is working. I'm gonna run it and you can see that this result is correct. That's all in this tutorial. Don't forget to check other tutorials on our channel. See you in the next tutorial. Bye-bye!