<prompt> Theha tšebetso e nkang palo e felletseng e le khang, me e hatise fektheri ea eona.nan  <response>: Instruction in English: Create a function that takes an integer as an argument, and prints out its factorial. . Response in English: def factorialnumber: This function calculates factorial of a number :param number: Integer :return: Integer Checking if the number is a non-negative integer if typenumber ! int or number 0: printInvalid input. The number must be a non-negative integer. return result 1 while number 1: result number number - 1 printresult Examplesfactorial5 This will print 120factorial0 This will print 1factorial-5 This will print Invalid input. The number must be a non-negative integer. . Response in Sesotho: def factorialnumber: Tshebetso ena e lekanya factorial ya nomoro :param number: Integer :return: Integer Ho hlahloba hore na nomoro ke nomoro e non-negative haeba mofutanomoro ! int kapa nomoro 0: printKenyeletso e fosahetseng. Nomoro e tlameha ho ba palo e felletseng e seng mpe. kgutlisetsa 1 ha nomoro 1: sephetho nomoro ya nomoro - 1 printsephetho Mehlala factorial5 Sena e tla hatisa 120 factorial0 Sena se tla hatisa 1 factorial-5 Sena se tla hatisa Invalid input. Nomoro e tlameha ho ba palo e felletseng e seng mpe. 