<prompt> Hlahisa mohlala o hlalosang mohopolo oa programming e sebetsang.nan  <response>: Instruction in English: Generate an example that explains the concept of functional programming. . Response in English: Functional programming is a programming paradigm that involves the use of mathematical functions to organize and manipulate data. The key principle of functional programming is the creation of purely functional, and therefore predictable, programs. This is achieved by designing code that avoids changing state or using mutable data.Heres an example that helps to illustrate functional programming in action:Suppose we have a list of numbers that we want to add up. We can write a function that takes the list as its argument and returns the sum of the numbers. This function doesnt change the original list, and its behavior is completely predictable, depending on its input - this is a hallmark of functional programming.def sum_listnumbers: Listint - int: total 0 for num in numbers: total num return totalprintsum_list1,2,3,4,5 15printsum_list5,6,7 18In functional programming, we often use higher-order functions functions that take other functions as arguments to make our code more modular and reusable. For instance, we can use the built-in reduce function to achieve the same result:from functools import reducedef sum_listnumbers: Listint - int: return reducelambda a, b: ab, numbersprintsum_list1,2,3,4,5 15printsum_list5,6,7 18In this example, we pass a lambda function to reduce, which applies the function cumulatively to the elements of the list. Once again, the function is predictable, since it doesnt change the state of the input data.This is just one simple example, but functional programming can be applied to a wide range of problems. By breaking a program into small, self-contained functions, we can create code that is easy to understand, test, and reuse. . Response in Sesotho: Lenaneo le sebetsang ke paradigm ea mananeo e kenyelletsang tsebeliso ea mesebetsi ea lipalo ho hlophisa le ho laola data. Molao-motheo oa bohlokoa oa mananeo a sebetsang ke ho theha mananeo a sebetsang hantle, ka hona a ka lebelloang esale pele. Sena se finyelloa ka ho theha khoutu e qobang ho fetola boemo kapa ho sebelisa data e feto-fetohang. Mohlala ke ona o thusang ho bontsa tšebetso ea mananeo a sebetsang: Ha re re re na le lethathamo la linomoro tseo re batlang ho li kopanya. Re ka ngola mosebetsi o nkang lenane joalo ka khang ea lona ebe o khutlisa kakaretso ea linomoro. Tsebetso ena ha e fetole lethathamo la pele, me boitšoaro ba eona bo ka boleloa ka ho feletseng, ho itšetlehile ka ho kenya letsoho - ena ke letšoao la lenaneo le sebetsang. def sum_listlinomoro: Listint - int: kakaretso 0 bakeng sa palo ka linomoro: kakaretso num kgutlisa kakaretso ya kgatisopalo_lenane1,2,3,4,5 15 printsum_list5,6,7 18 Lenaneong la tsebetso, hangata re sebelisa mesebetsi ea maemo a holimo - mesebetsi e nkang mesebetsi e meng joalo ka likhang - ho etsa hore khoutu ea rona e be modula le ho sebelisoa hape. Mohlala, re ka sebelisa tsebetso ea reduce e hahelletsoeng kahare ho fihlela sephetho se tšoanang: ho tsoa ho functools import reduce def sum_listnomoro: Listint - int: return reducelambda a, b: a b, linomoro hatisapalo_lethathamo1,2,3,4,5 15 hatisapalo_lethathamo5,6,7 18 Mohlaleng ona, re fetisa lambda tshebetso ho fokotsa, e leng se sebedisang tshebetso ka bokelletso ho dikarolo tsa lenane. Hape, tsebetso e ka lebelloa, kaha ha e fetole boemo ba data e kentsoeng. Ena ke mohlala o le mong feela o bonolo, empa lenaneo le sebetsang le ka sebelisoa mathateng a mangata a mangata. Ka ho arola lenaneo hore e be likarolo tse nyane, tse ikemetseng, re ka theha khoutu eo ho leng bonolo ho e utloisisa, ho e hlahloba le ho e sebelisa hape. 