dropLastColumns

Removes the last n columns from each row (inner list) within a two-dimensional list.

Return

A new two-dimensional list with the last n columns removed from each row.

Parameters

n

The number of columns to drop from the end of each inner list.