<prompt> Etsa lenaneo la ho bala makhetlo a mangata a lentsoe polelong.Polelo ke: Ena ke mohlala oa polelo Lentsoe ke: ke  <response>: Instruction in English: Create a program to calculate the frequency of a word in a sentence. . Response in English: Sure, here is a Python program that takes a sentence and a word as input and calculates the frequency of the word in the sentence:def calculate_word_freqsentence, word: Splitting the sentence into a list of individual words sentence_words sentence.split Counting the number of occurrences of the word in the list of words word_count sentence_words.countword Calculating the frequency of the word in the sentence freq word_countlensentence_words return freqsentence This is an example sentenceword isfreq calculate_word_freqsentence, wordprintfThe frequency of the word word in the sentence is freqIn the input you provided, the frequency of the word is in the sentence This is an example sentence is 0.2. . Response in Sesotho: Ehlile, mona ke lenaneo la Python le nkang polelo le lentsoe joalo ka kenyeletso le ho lekanya makhetlo a lentsoe polelong: def count_word_freqpolelo, lentsoe: Ho arola polelo lethathamong la mantsoe ka bomong polelo_mantsoe polelo.split Ho bala palo ea mahlahahlaha a lentsoe lethathamong la mantsoe lentsoe_count polelo_mantsoe.countlentsoe Ho bala khafetsa ea lentsoe polelong freq word_countlensentence_words return freq sentence Ona ke mohlala oa polelo lentsoe ke freq count_word_freqpolelo, lentsoe printfMakhetlo a lentsoe lentsoe polelong ke freq Kenyetsong eo u faneng ka eona , hangata lentsoe ke polelong Ena ke polelo ea mohlala ke 0.2. 