rows, return the first rows rows of the pyramid from the top down, as a list of lists.rows=4 → [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]]
The third row is [1, 2, 1]; below it come 1, 1 + 2 = 3, 2 + 1 = 3, 1.
rows=2 → [[1], [1, 1]]
rows=4
[[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]]
Run checks the first 3 tests in your browser. Submit checks all 18 tests on the server, hidden ones included.