<prompt> Ngola tsebetso ho khutlisetsa nomoro e fanoeng motheong oa eona oa 10 ho tloha sebopehong sa eona sa binary.nan  <response>: Instruction in English: Write a function to revert a given number to its base 10 form from its binary form. . Response in English: Here is a simple function written in Python that converts a binary number to its decimal form:pythondef binary_to_decimalbinary: decimal 0 binary strbinary power lenbinary - 1 for digit in binary: decimal intdigit 2 power power - 1 return decimalThis function takes a binary number as input, converts it to string and iterates over each digit. For each digit, the function calculates its value in the decimal system by multiplying its value 0 or 1 by 2 raised to the power of its position from right to left, and adds it to the decimal variable. Finally the value of the decimal variable is returned as the result. . Response in Sesotho: Mona ke mosebetsi o bonolo o ngotsoeng ka Python o fetolelang nomoro ea binary ho sebopeho sa eona sa decimal: python def binary_to_decimalbinary: decimal 0 binary strbinary power lenbinary - 1 bakeng sa digit ho binary: decimal intnomoro 2 matla matla - 1 kgutlisa desimali Tshebetso ena e nka nomoro ya binary e le ho kenya, e e fetolela ho kgwele mme e pheta-pheta palo e nngwe le e nngwe. Ho nomoro e ngoe le e ngoe, mosebetsi o lekanya boleng ba oona tsamaisong ea decimal ka ho atisa boleng ba eona 0 kapa 1 ka 2 e phahamiselitsoeng matleng a boemo ba eona ho tloha ho le letona ho ea ho le letšehali, me e e eketsa ho feto-fetoha ea decimal. Qetellong boleng ba decimal bo fetotsoe e le sephetho. 