<prompt> Hukumu: Yeye huuza makombe kwenye pwani.Kuandika code kwa scramble sentensi fulani.  <response>: Here is the Python code to scramble a given sentence:pythonimport randomdef scramble_sentencesentence: words sentence.split for i in rangelenwords: if lenwordsi 3: word listwordsi1:-1 random.shuffleword wordsi wordsi0 .joinword wordsi-1 return .joinwordssentence She sells seashells on the seashore.scrambled_sentence scramble_sentencesentenceprintscrambled_sentenceThis code takes the sentence and splits it into individual words. For each word, if its length is greater than 3, the middle part of the word is isolated and shuffled, and the word is rebuilt back to its original form. 