You are viewing a single comment's thread. Return to all comments →
import numpy my_arr = [] for _ in range(int(input())): my_arr.append(list(map(float, input().strip().split()))) print(round(numpy.linalg.det(my_arr), 2))
Seems like cookies are disabled on this browser, please enable them to open this website
Linear Algebra
You are viewing a single comment's thread. Return to all comments →
import numpy my_arr = [] for _ in range(int(input())): my_arr.append(list(map(float, input().strip().split()))) print(round(numpy.linalg.det(my_arr), 2))