<prompt> Mstari uliopewa: Jina langu ni Nakala iliyoingizwa: BobKuandika code ambayo insert maandishi zinazotolewa katika katikati ya kamba iliyotolewa.  <response>: Here is a simple python code that inserts the provided text in the middle of the given string. pythondef insert_textgiven_string, text: Calculate the middle index of the given string middle_index intlengiven_string 2 Insert the text at the middle index result given_string:middle_index text given_stringmiddle_index: Return the result return result Example usagegiven_string My name istext Bob printinsert_textgiven_string, textOutput: My na Bob me is 