回答編集履歴
1
f
answer
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
a = np.array([[0, 0, 0, 0, ], [5, 5, 5, 10], [1, 2, 10, 12], [-3, 0, -2, 12]])
|
13
13
|
b = np.array([[1, 2, 3, 4, ], [8, 0, 10, 22], [5, 6, 7, 0], [-1, 0, 10, -12]])
|
14
14
|
|
15
|
-
result = map(lambda p:calc(p
|
15
|
+
result = map(lambda p:calc(*p), product(a, b))
|
16
16
|
|
17
17
|
print(list(result))
|
18
18
|
```
|