<prompt> Ngola tšebetso e nkang likhoele tse peli e le likhang me e khutlisetse nete haeba e le li-anagrams tsa tse ling me li fosahetse ka tsela e ngoe.khoele str1 anagram; khoele str2 nagaram;  <response>: Instruction in English: Write a function that takes two strings as arguments and returns true if they are anagrams of each other and false otherwise. . Response in English: Here is an example implementation of the function in Python:pythondef is_anagramstr1, str2: If the strings have a different number of characters, they cannot be anagrams if lenstr1 ! lenstr2: return False Create a dictionary to count the number of characters in each string char_count Count the characters in the first string for char in str1: if char in char_count: char_countchar 1 else: char_countchar 1 Subtract the characters in the second string for char in str2: if char in char_count: char_countchar - 1 else: return False If any of the values in the char_count dictionary are not 0, then the strings are not anagrams for value in char_count.values: if value ! 0: return False return TrueLets test the function with the given input:pythonstr1 anagramstr2 nagaramprintis_anagramstr1, str2 True . Response in Sesotho: Mona ke mohlala oa tsebetsong ea tsebetso ho Python: python def is_anagramstr1, str2: Haeba likhoele li na le litlhaku tse fapaneng, li ke ke tsa ba anagrams haeba lenstr1 ! lenstr2: return Bohata Theha bukantswe ho bala palo ya ditlhaku mothapong o mong le o mong char_count Bala ditlhaku mothapong wa pele wa char ho str1: if char in char_count: char_countchar 1 else: char_countchar 1 Ntsha ditlhaku mothapong wa bobedi bakeng sa char ho str2: if char in char_count: char_countchar - 1 else: return Flse Haeba leha e le efe ya boleng ba dikishinari ea char_count e se 0, joale likhoele ha li joalo. anagrams bakeng sa boleng ho char_count.values: haeba boleng ! 0: kgutlisetsa Phoso e fosahetseng Ke nnete Ha re lekole tshebetso ka kenyo e fanoeng: python str1 anagram str2 nagaram printis_anagram str1, str2 Nete 