![Q5: Write a function called elem_square that takes a 2D array matrix and returns a 2D array where every element in this 2D array is a square of corresponding element in matrix. def elem_square(matrix): Takes a matrix and square every element in the matrix and return it mo [[1,2], [3, 4]1 m1 [[10, 0, 0], [5, 2, 2], [0, 3, 4]1 >>>elem_square(mo) >elem_square(m1) [100, 0, 0], [25, 4, 4], [0, 9, 16]] >elem_square (m2) # YOUR CODE HERE](https://d2vlcm61l7u1fs.cloudfront.net/media%2Fcee%2Fcee7228c-4553-4fb6-9ac3-97af31c2e4f6%2FphpaIyWem.png)
NOTE: Do not import/use any external packages!!!! (i.e.numpy, math, etc.) python3
Q5: Write a function called elem_square that takes a
PayPal Gateway not configured
PayPal Gateway not configured
![Q5: Write a function called elem_square that takes a 2D array matrix and returns a 2D array where every element in this 2D array is a square of corresponding element in matrix. def elem_square(matrix): Takes a matrix and square every element in the matrix and return it mo [[1,2], [3, 4]1 m1 [[10, 0, 0], [5, 2, 2], [0, 3, 4]1 >>>elem_square(mo) >elem_square(m1) [100, 0, 0], [25, 4, 4], [0, 9, 16]] >elem_square (m2) # YOUR CODE HERE](https://d2vlcm61l7u1fs.cloudfront.net/media%2Fcee%2Fcee7228c-4553-4fb6-9ac3-97af31c2e4f6%2FphpaIyWem.png)
NOTE: Do not import/use any external packages!!!! (i.e.numpy, math, etc.) python3
Q5: Write a function called elem_square that takes a
PayPal Gateway not configured
PayPal Gateway not configured