<prompt> Ngola tšebetso ho hlahloba hore na lentsoe le fanoeng ke palindrome.lentsoe koloi ea mabelo  <response>: Instruction in English: Write a function to check if the given word is a palindrome. . Response in English: Here is a Python function that you can use to check if a given word is a palindrome:pythondef is_palindromeword: convert the word to lowercase to make the function case-insensitive. word word.lower reverse the word reversed_word word::-1 check if the word is the same as the reversed word if word reversed_word: return True else: return FalseYou can use this function to check if the word racecar is a palindrome or not by calling it as below:pythonword racecarprintis_palindromewordThis will return True since the word racecar is a palindrome. . Response in Sesotho: Mona ke tsebetso ea Python eo u ka e sebelisang ho lekola hore na lentsoe le fanoeng ke palindrome: python def is_palindromelentsoe: fetola lentsoe ho ba litlhaku tse nyane ho etsa hore nyeoe e se ke ea utloahala. lentsoe lentsoe.tlase hetla lentsoe reverse_lentsoe lentsoe::-1 hlahloba hore na lentsoe le tsoana le le fetoletsoeng e le lentsoe reverse_lentsoe: kgutlisetsa Nnete e nngwe: kgutlisetsa Mashano O ka sebedisa tsebetso ena ho hlahloba hore na lentsoe racecar ke palindrome kapa che ka ho le bitsa joalo ka tlase: python word racecar printke_palindromelentsoe Sena se tla khutlisa Nete ho tloha lentsoe racecar ke palindrome. 