回答編集履歴

1

修正

2020/10/31 12:08

投稿

meg_
meg_

スコア10594

test CHANGED
@@ -10,4 +10,4 @@
10
10
 
11
11
 
12
12
 
13
- ``np.random.rand(n)``の結果の``x``を``[]``で変更(上書き)しているのが原因ではないでしょうか?
13
+ ``ValueError: operands could not be broadcast together with shapes (0,) (10000,) ``の原因は``np.random.rand(n)``の結果の``x``を``[]``で変更(上書き)していることではないでしょうか?