<prompt> Hlahisa tšebetso ho fumana kakaretso ea likarolo tsa sehlopha se fanoeng.1, 4, 9, 0  <response>: Instruction in English: Generate a function to find the sum of the elements of a given array. . Response in English: pythondef array_sumarr: total 0 for element in arr: total total element return totalinput_array 1, 4, 9, 0result array_suminput_arrayprintThe sum of the array elements is:, result . Response in Sesotho: python def array_sumarr: kakaretso 0 bakeng sa element in arr: total total element return total input_array 1, 4, 9, 0 sephetho array_suminput_array printKakaretso ea sehlopha likarolo ke:, sephetho 