<prompt> Rala algorithm ho hatisa paterone ea grid e fanoeng ka tlase.Paterone ea grid ke:  <response>: Instruction in English: Design an algorithm to print out the grid pattern given below. . Response in English: To print out a grid pattern like the one given in the input:1. Initialize a variable rows with the number of rows in the grid and cols with the number of columns in the grid.rows 4cols 52. Create a nested loop. The outer loop should iterate for each row in the grid, and the inner loop should iterate for each column.for i in rangerows: for j in rangecols:3. Within the inner loop, print the asterisk symbol followed by a space, without changing line: print , end4. After the inner loop within the outer loop, print a newline character to move to the next row in the grid. printnThe completed pseudocode algorithm is below:pythonrows 4cols 5for i in rangerows: for j in rangecols: print , end printnWhen executed, the algorithm will print out the given grid pattern in the specified number of rows and columns. . Response in Sesotho: Ho printa paterone ea grid joalo ka e fanoeng keriting: 1. Simolola mela e feto-fetohang ka palo ea mela e ka hara keriti le cols ka palo ea likholomo ho grid. mela 4 cols 5 2. Theha lupu e entsoeng sehlaha. Lupu e ka ntle e lokela ho itekanya bakeng sa mola o mong le o mong ka hara marang-rang, me lupu e ka hare e lokela ho pheta-pheta bakeng sa kholomo ka ngoe. bakeng sa i lethathamongmela: bakeng sa j ho mefutamekolo: 3. Ka hara lupu e ka hare, hatisa letšoao la linaleli le lateloe ke sebaka, ntle le ho fetola mola: hatisa , end 4. Ka mora lupu e ka hare ka hara lupu e ka ntle, hatisa tlhaku e ncha ho ea moleng o latelang oa marang-rang. hatisan Algorithm e phethiloeng ea pseudocode e ka tlase: python rows 4 cols 5 bakeng sa i ho mefutamela: bakeng sa j ho mefutacols: print , end printn Ha e etsoa, algorithm e tla hatisa mokhoa o fanoeng oa grid palo e boletsoeng ea mela le likholomo. 