Checkpoint
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Checkpoint. Write shape(rows) returning (n_rows, n_cols) for a list-of-lists table, and is_rectangular(rows) returning True only if every row has the same length — the sanity check you run before trusting any shape.