Question: Exercise 1 [Rectangular Matrices] Write a function is Rectangle() that takes a list of lists as a parameter and returns a Boolean (either True or
![Exercise 1 [Rectangular Matrices] Write a function is Rectangle() that takes](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f31cdc87db4_66866f31cdc1ef5f.jpg)
Exercise 1 [Rectangular Matrices] Write a function is Rectangle() that takes a list of lists as a parameter and returns a Boolean (either True or False) if the list of lists is rectangular (i.e., every "row" has the same length). For example, >>> i sRectangle ([["0","1"],["2","3"]]) True >>> isRectangle([["0","1"],["2","3","4"]]) False The function should not care what the data looks like. The examples above are strings but they could be anything
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
