We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Numpy
- Linear Algebra
- Discussions
Linear Algebra
Linear Algebra
Sort by
recency
|
294 Discussions
|
Please Login in order to post a comment
For Python3 Platform
For Python 3
import numpy as np
n = int(input()) a = np.array([list(map(float, input().split(" "))) for i in range(n)]) print(round(np.linalg.det(a),2))
For Python3