質問編集履歴
1
プログラムのインデントがずれていたので修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,15 +76,15 @@
|
|
76
76
|
|
77
77
|
counter = 0
|
78
78
|
|
79
|
-
|
79
|
+
for child in root:
|
80
80
|
|
81
|
-
|
81
|
+
for child1 in child:
|
82
82
|
|
83
|
-
|
83
|
+
for child2 in child1:
|
84
84
|
|
85
|
-
|
85
|
+
if child2.tag == "title":
|
86
86
|
|
87
|
-
|
87
|
+
counter = counter + 1
|
88
88
|
|
89
89
|
```
|
90
90
|
|