You are viewing a single comment's thread. Return to all comments →
from numpy import array, linalg n = int(input()) A = array([input().split() for _ in range(n)], dtype=float) print(round(linalg.det(A), 2))
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Linear Algebra
You are viewing a single comment's thread. Return to all comments →
For Python3