For this Question: Find the determinant of a 3*3 matrix1st 3 lines: 3 space separated values for matrixDeterminant of the matrixInput
1 2 3
2 3 4
3 4 8

Output:
-3, I have written this Solution Code: import numpy as np
a=np.array([input().strip().split() for _ in range(3)],int)

ans=a[0][0]*(a[1][1]*a[2][2]-a[2][1]*a[1][2])-a[0][1]*(a[1][0]*a[2][2]-a[1][2]*a[2][0])+a[0][2]*(a[1][0]*a[2][1]-a[1][1]*a[2][0])
print(ans)
# ans1=np.linalg.det(a)
# print(ans1), In this Programming Language: Python, Now tell me if this Code is compilable or not?