Helping a friend

Report a typo

Your friend tried to write a program to find the determinant of a matrix. You can see it below. Unfortunately, the official numpy documentation went down.

Complete the 4th line of code so that the determinant of arr is stored in the deter variable.

import numpy as np

arr = np.array([[21, 2], [38, 4]])
deter = ?
print(deter)

Your answer should be in the following form: deter = #Your code here

Enter a short text
___

Create a free account to access the full topic