回答編集履歴
1
書式改善
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
```Python
|
2
2
|
|
3
|
-
b = [ sum(a[0:i+1])/(i+1) for i,
|
3
|
+
b = [ sum(a[0:i+1])/(i+1) for i,e in enumerate(a) ]
|
4
4
|
|
5
5
|
```
|
6
6
|
|