<prompt> Ngola tshebetso ho bala sebaka sa kgutlotharo ho latela bolelele ba mahlakore a yona.nan  <response>: Instruction in English: Write a function to calculate the area of a triangle given the lengths of its sides. . Response in English: Sure! Here is a Python function that calculates the area of a triangle given the lengths of its sides using Herons Formula:pythondef triangle_areaa, b, c: calculate the semi-perimeter s a b c 2 calculate the area area ss-as-bs-c 0.5 return area example caseprinttriangle_area3, 4, 5 result should be 6.0Here, a, b, and c are the lengths of the sides of the triangle, and s is the semi-perimeter of the triangle. The area is then calculated using Herons formula, which states that the area of a triangle is the square root of ss-as-bs-c. . Response in Sesotho: Ehlile! Mona ke tsebetso ea Python e balang sebaka sa khutlo-tharo e fanoeng bolelele ba mahlakore a eona ho sebelisoa Foromo ea Heron: python def triangle_areaa, b, c: bala semi-perimeter s a b c 2 bala sebaka sa sebaka ssasbsc 0.5 sebaka sa ho kgutlela mohlala printa ya mohlala3, 4, 5 sephetho e be 6.0 Mona, a, b, le c ke bolelele ba mahlakore a kgutlotharo, mme s ke halofo ya pherimitha ya kgutlotharo. Joale sebaka se baloa ho sebelisoa mokhoa oa Heron, o bolelang hore sebaka sa khutlotharo ke motso oa sekwere sa ssasbsc. 