Question: 3. [1] A 3 x 3 matrix M is given as a list with three elements, each of which is one row in M. In
![3. [1] A 3 x 3 matrix M is given as](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3dfb4dedc9_54866f3dfb4819f0.jpg)

3. [1] A 3 x 3 matrix M is given as a list with three elements, each of which is one row in M. In other words, M=[[1,2,3] , [4,5,6] , [7,8,9]] represents the matrix 11 2 31 4 5 6 7 8 9 Given a 3 x 3 matrix M, return True if M is symmetric, and False if it is not. #Question 3 def is_symmetric(M): A 3 by 3 matrix M is given as a list with three elements, each of which is one row in M. Return True if M is symmetric, and False otherwise. #insert your code here # test cases to try out print(is_symmetric([[1,2,3],[2,5,8],[3,8,7]])) # should print True print(is_symmetric([[1,2,3],[2,5,8],[7,8,3]])) # should print False print is symmetricall1.0.0110.5.01.11.0.911)) # should print False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
