You are viewing a single comment's thread. Return to all comments →
import numpy as pn N,M,L = (*map(int,input().split()),lambda a,b: ([a+b,a-b,a*b,a//b,a%b,a**b])) A,B = [pn.array([list(map(int,input().split()))for _ in range(N)]) for _ in range(2)] [*map(print,L(A, B))]
Seems like cookies are disabled on this browser, please enable them to open this website
Array Mathematics
You are viewing a single comment's thread. Return to all comments →