How do I find how many rows and columns are in a 2d array?
For example,
Input = ([[1, 2], [3, 4], [5, 6]])`
should be displaye
Assuming input[row][col],
rows = len(input) cols = map(len, input) #list of column lengths