<prompt> Ngola tšebetso e nkang palo ea lipalo me e li hlophe ka tatellano e nyolohang.5, 2, 9, 7, 4, 1  <response>: Instruction in English: Write a function that takes an array of numbers and sorts them in ascending order. . Response in English: Certainly, I can help with that! Heres an example of a sorting function that you can use:pythondef sort_arraynumbers: numbers.sort return numbers test the functionmy_list 5, 2, 9, 7, 4, 1sorted_list sort_arraymy_listprintsorted_listThis function takes an array of numbers as an input, sorts it in ascending order using the sort method and returns the resulting sorted array. In this example, the input array is 5, 2, 9, 7, 4, 1. After passing the array to the sort_array function, the resulting output is the sorted array 1, 2, 4, 5, 7, 9.You can use this function to sort any array of numbers in ascending order. Let me know if you need any more information. . Response in Sesotho: Ka sebele, nka thusa ka seo! Mohlala ke ona oa mosebetsi oa ho hlopha oo u ka o sebelisang: python def sort_arraylinomoro: linomoro.sort khutlisetsa linomoro leka tšebetso my_list 5, 2, 9, 7, 4, 1 sorted_list sort_arraymy_list printsorted_list Tshebetso ena e nka letoto la dinomoro e le kenyeletso, e e hlopha ka tatellano e nyolohang ka mokgwa wa mofuta mme e busetsa letoto le hlophilweng. Mohlaleng ona, lethathamo la ho kenya ke 5, 2, 9, 7, 4, 1. Ka mora ho fetisetsa sehlopha ho mosebetsi oa sort_array, sephetho se hlahisoang ke sehlopha se hlophiloeng 1, 2, 4, 5, 7, 9. U ka sebelisa tsebetso ena ho hlophisa palo efe kapa efe ea linomoro ka tatellano e nyolohang. U ntsebise haeba u hloka lintlha tse ling. 