<prompt> Theha lenaneo la ho amohela tlhahiso ea mosebelisi le ho fumana hore na tlhahiso ke nomoro ea mantlhaHa ho tlhahiso  <response>: Instruction in English: Create a program to accept user input and determine if the input is a prime number . Response in English: Sure! Here is a simple Python program that asks the user for a number and checks if it is a prime number:pythondef is_primenum: if num 2: return False for i in range2, intnum0.5 1: if num i 0: return False return Truenumber intinputEnter a number: if is_primenumber: printnumber, is a prime numberelse: printnumber, is not a prime numberHere is how it works: 1. The is_prime function checks if a number is a prime number.2. It takes one argument, num and checks if it is less than 2, in which case it is not a prime number, and returns False.3. If num is greater than 2, we define a for loop that checks if num is divisible by any number i in the range 2 to intnum0.5 1. If it is divisible, it is not a prime number, and the function returns False.4. If none of these conditions are met then num is a prime number and the function returns True.5. The program then asks the user for a number and calls the is_prime function, passing the user input as an argument.6. If the function returns True then the program prints that the number is a prime number, otherwise it prints that it is not a prime number. . Response in Sesotho: Ehlile! Mona ke lenaneo le bonolo la Python le botsang mosebelisi nomoro le ho hlahloba hore na ke nomoro ea mantlha: python def is_primenum: if num 2: return False for i in range2, intnum 0.5 1: haeba palo i 0: kgutlisetsa Phoso e fosahetseng Nomoro ya nnete intinputkenya nomoro: if is_primenomoro: hatisanomoro, ke nomoro ya mantlha ho seng jwalo: hatisanomoro, ha se palo e ka sehloohong Mona ke kamoo e sebetsang kateng: 1. Tshebetso ya is_prime e lekola hore na nomoro ke nomoro e ka sehloohong. 2. E nka ntlha e le ngoe, Num, me e hlahloba hore na e ka tlase ho 2, moo e seng palo e kholo, me e khutlisa False. 3. Haeba num e kholo ho feta 2, re hlalosa a for lupu e hlahlobang hore na num e aroloa ka nomoro efe kapa efe i moleng 2 ho ea intnum0.5 1. Haeba e ka aroloa, ha se nomoro ea mantlha, me mosebetsi o khutlisa False. 4. Haeba ho sa finyelloe le le leng la dipehelo tsena, num ke nomoro ya mantlha mme tshebetso e tla kgutlisa Nete. 5. Joale lenaneo le botsa mosebedisi nomoro mme le letsetsa is_prime mosebetsi, ho fetisa tlhahiso ea mosebedisi e le khang. 6. Haeba tshebetso e kgutlisetsa Nnete lenaneo le tla hatisa hore nomoro ke palo e ka sehloohong, ho seng jwalo le tla hatisa hore ha se nomoro e ka sehloohong. 