質問編集履歴

1

プログラムのインデントがずれていたので修正

2019/10/23 01:09

投稿

Akihiro_py
Akihiro_py

スコア55

test CHANGED
File without changes
test CHANGED
@@ -76,15 +76,15 @@
76
76
 
77
77
  counter = 0
78
78
 
79
- for child in root:
79
+ for child in root:
80
80
 
81
- for child1 in child:
81
+ for child1 in child:
82
82
 
83
- for child2 in child1:
83
+ for child2 in child1:
84
84
 
85
- if child2.tag == "title":
85
+ if child2.tag == "title":
86
86
 
87
- counter = counter + 1
87
+ counter = counter + 1
88
88
 
89
89
  ```
90
90