Write as_grid(nums, rows) reshaping a flat list into rows rows (the length is divisible).
as_grid([1, 2, 3, 4, 5, 6], 2) → [[1, 2, 3], [4, 5, 6]]
as_grid([1, 2, 3, 4], 4) → [[1], [2], [3], [4]]
Submit runs 3 tests, including hidden edge cases.
Run your code to see the output here.