回答編集履歴
1
変数変更忘れ訂正
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
def new_matrix(m1, m2, threashold):
|
30
30
|
|
31
|
-
return [[int(c1 * c2 >=
|
31
|
+
return [[int(c1 * c2 >= threashold) for c1, c2 in zip(r1, r2)]
|
32
32
|
|
33
33
|
for r1, r2 in zip(m1, m2)]
|
34
34
|
|