You are viewing a single comment's thread. Return to all comments →
from numpy import array,dot
a = int(input())
arr1, arr2=array([[list(map(int,input().split())) for _ in range(a)] for _ in range(2)])
print(dot(arr1,arr2))
easy to understand i think x)
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 →
from numpy import array,dot
a = int(input())
arr1, arr2=array([[list(map(int,input().split())) for _ in range(a)] for _ in range(2)])
print(dot(arr1,arr2))
easy to understand i think x)