You are viewing a single comment's thread. Return to all comments →
import numpy as np n = int(input()) matrix_a = [] matrix_b = [] for i in range(n): matrix_a.append(list(map(int, input().split()))) for i in range(n): matrix_b.append(list(map(int, input().split()))) print(np.matmul(matrix_a,matrix_b))``
Seems like cookies are disabled on this browser, please enable them to open this website
Dot and Cross
You are viewing a single comment's thread. Return to all comments →