Dot and Cross
-
Practice>Python>Numpy>Dot and Crosshackerrank.com 2019. 3. 13. 13:00
hackerrank.comDot and CrossProblem link : https://www.hackerrank.com/challenges/np-dot-and-cross/problemDifficulty : Easy TipPlease understand regarding numpy.dot() Solution import numpy as np N = int(input()) A = np.array([input().split(' ') for _ in range(N)], int) B = np.array([input().split(' ') for _ in range(N)], int) print(np.dot(A, B))