回答編集履歴
2
空白追加
test
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
```python
|
2
2
|
|
3
|
-
i=1
|
3
|
+
i = 1
|
4
4
|
|
5
|
-
x3=x[i]**3
|
5
|
+
x3 = x[i]**3
|
6
6
|
|
7
7
|
print(x3)
|
8
8
|
|
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
x3 = [0] * len(x)
|
20
20
|
|
21
|
-
i=1
|
21
|
+
i = 1
|
22
22
|
|
23
|
-
x3[i]=x[i]**3
|
23
|
+
x3[i] = x[i]**3
|
24
24
|
|
25
25
|
print(x3[1])
|
26
26
|
|
1
可能性追加
test
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
```python
|
2
|
+
|
3
|
+
i=1
|
4
|
+
|
5
|
+
x3=x[i]**3
|
6
|
+
|
7
|
+
print(x3)
|
8
|
+
|
9
|
+
```
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
もしくは
|
14
|
+
|
15
|
+
|
16
|
+
|
1
17
|
```python
|
2
18
|
|
3
19
|
x3 = [0] * len(x)
|