Question: Write a function matMul in python , which accepts two arguments. When being called as matMul(A,B) with matrices A, B the function must return the
Write a function matMul in python, which accepts two arguments. When being called as matMul(A,B) with matrices A, B the function must
return the matrix product A*B, if isMatrix(A) and isMatrix(B) are both True and the number of columns in A is equal to the number of rows in B;
otherwise the function must return a string "invalid arguments"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
