質問編集履歴
1
コード編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
top_index = np.where(np.array(top) == num)
|
11
11
|
bottom_index = np.where(np.array(bottom) == num)
|
12
12
|
concat = np.concatenate([top_index, bottom_index], axis=1) # 1次元配列に結合
|
13
|
-
min_max = [concat.min(), concat.max()]
|
13
|
+
min_max = [concat.min(), concat.max()]
|
14
14
|
|
15
15
|
print(min_max)
|
16
16
|
```
|