回答編集履歴
1
間違いの訂正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
```python
|
20
20
|
|
21
|
-
>>>
|
21
|
+
>>> elem[0][0].tag
|
22
22
|
|
23
23
|
'sample_child_child'
|
24
24
|
|
@@ -28,11 +28,11 @@
|
|
28
28
|
|
29
29
|
```python
|
30
30
|
|
31
|
-
>>>
|
31
|
+
>>> elem[0][0][0].tag
|
32
32
|
|
33
33
|
'items'
|
34
34
|
|
35
|
-
>>> len(
|
35
|
+
>>> len(elem[0][0][0])
|
36
36
|
|
37
37
|
3
|
38
38
|
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
>>> items = []
|
46
46
|
|
47
|
-
>>> for item in
|
47
|
+
>>> for item in elem[0][0][0]:
|
48
48
|
|
49
49
|
... items.append({
|
50
50
|
|