Linear Algebra

  • + 0 comments
    import numpy as np
    arr = []
    for i in range(int(input())):
        a = list(map(float, input().split()))
        arr.append(a)
    
    print(round(np.linalg.det(arr), 2))