Program in python using functions and arrays or lists to solve the…

Question Answered step-by-step Program in python using functions and arrays or lists to solve the… Program in python using functions and arrays or lists to solve the addition andsubtraction for two matrices. The matrices dimensions and the elements must be entered by theuser.For the first part of this assignment, you will need to program two matrices: “A” and “B”.Then you must perform the sum and the difference of them and create a matrix “C” with theresult. To solve a problem like this one you can use a matrix, which is rectangular array ofnumbers. A row in a matrix is a set of numbers that are aligned horizontally. A column in amatrix is a set of numbers that are aligned vertically. Each number is an entry, sometimes calledan element, of the matrix. We use matrices to list data or to represent systems. Because theentries are numbers, we can perform operation on matrices. We add or subtract matrices byadding or subtracting corresponding entries. Therefore, addition and subtraction of matrices isonly possible when the matrices have the same dimensions. We can add or subtract a 3 x 3 matrixand another 3 x 3 matrix, but we cannot add or subtract a 2 x 3 matrix and a 3 x 3 matrix becausesome entries in one matrix will not have a corresponding entry in the other matrix.  Computer Science Engineering & Technology Python Programming APCV 320 Share QuestionEmailCopy link Comments (0)