multiplication_grid(rows, cols) that returns a 2D list (list of lists) where grid[i][j] = (i + 1) * (j + 1) for i in range(rows) and j in range(cols), built with nested for loops.multiplication_grid(2, 3)
[[1, 2, 3], [2, 4, 6]]
Row 0 is 1*(1,2,3); row 1 is 2*(1,2,3).
Outer loop builds each row; inner loop fills in that row's columns.
Append each computed value to a row list, then append the row list to the grid.