<prompt> Etsa algorithm ho hlahloba hore na lentsoe le fanoeng ke anagram ea e ngoe.nan  <response>: Instruction in English: Create an algorithm to check if a given word is an anagram of another. . Response in English: An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. Below is an algorithm to check if a given word is an anagram of another:1. Define is_anagramword1, word2 to take in two parameters, the two words to be checked.2. If the length of word1 is not equal to the length of word2, return False since they cannot be anagrams.3. Create a variable letters that is an empty dictionary to keep track of the count of letters in each word.4. Loop through word1 and count the occurrences of each letter. Store the counts in the letters dictionary.5. Loop through word2, for each letter, subtract one from its corresponding count in the letters dictionary if it exists, return false if letters doesnt contain such letter.6. Loop through the letters dictionary, if any value is not equal to zero, return False because those characters were not used in the anagram.7. Return True if the algorithm has gone through all the checks and passed.Here is an example python code to implement the algorithm:pythondef is_anagramword1, word2: if lenword1 ! lenword2: return False letters for letter in word1: if letter in letters: lettersletter 1 else: lettersletter 1 for letter in word2: if letter in letters: lettersletter - 1 else: return False for key in letters: if letterskey ! 0: return False return True . Response in Sesotho: Anagram ke lentsoe kapa poleloana e entsoeng ka ho hlophisa bocha litlhaku tsa lentsoe kapa poleloana e fapaneng, hangata ho sebelisoa litlhaku tsohle tsa pele hantle hang. Ka tlase ke algorithm ho hlahloba hore na lentsoe le fanoeng ke anagram ea le leng: 1. Hlalosa ke_anagramlentsoe1, lentsoe2 ho nka liparamente tse peli, mantsoe a mabeli a lokelang ho hlahlojoa. 2. Haeba bolelele ba lentsoe1 bo sa lekane le bolelele ba lentsoe2, khutlisetsa False kaha e ke ke ea e-ba anagrams. 3. Etsa litlhaku tse feto-fetohang e leng bukantswe e se nang letho ho boloka palo ya ditlhaku tsa lentswe ka leng. 4. Lumella ka lentsoe1 ebe u bala ho hlaha ha tlhaku ka ngoe. Boloka lipalo ho bukantswe ya ditlhaku. 5. Fetola lentsoe2, bakeng sa tlhaku ka ngoe, tlosa e le ngoe palo ea eona e tsamaisanang le bukantswe ea ditlhaku ha e le teng, khutlisetsa fosahetse haeba tlhaku e se na litlhaku tse joalo. 6. Sheba bukantswe ya ditlhaku, ha boleng bo sa lekane le noto, khutlisetsa False hobane litlhaku tseo ha lia sebelisoa ho anagram. 7. Khutlisetsa Nete haeba algorithm e fetile licheke tsohle me e fetile. Mohlala ke ona oa khoutu ea python ho kenya tšebetsong algorithm: python def is_anagramword1, word2: haeba lenlentsoe1 ! lenlentsoe2: khutlisetsa litlhaku tse fosahetseng bakeng sa tlhaku ka lentsoe1: haeba tlhaku ka litlhaku : ditlhakutlhaku 1 e nngwe: ditlhakutlhaku 1 bakeng sa tlhaku ka lentswe2: haeba tlhaku e le ditlhaku: ditlhakutlhaku - 1 e nngwe: kgutlisa False bakeng sa senotlolo sa ditlhaku: haeba ditlhakukey ! 0 : kgutlisetsa Flse return Nnete 