<prompt> Andika kazi ya kupata mrefu neno katika sentensi.  <response>: pythondef longest_word_in_sentencesentence: Function that takes a sentence, finds and returns the longest word in it :param sentence: str representing a sentence :return: str of the longest word split the sentence into a list of words words sentence.split set the initial longest word to be the first word longest_word words0 iterate over the list of words for word in words: compare the length of each word with the longest word if lenword lenlongest_word: update the value of the longest word if a longer word is found longest_word word return the longest word return longest_word 