回答編集履歴
2
Update
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
sports = [(e.find('sport').text, e.find('orgin').text) for e in root.findall('sports/sport')]
|
7
|
+
sports = [(e.find('sport').text, e.find('orgin').text) for e in root.findall('.//sports/sport')]
|
8
8
|
|
9
9
|
|
10
10
|
|
1
Update
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
sports = [(e.find('sport').text, e.find('orgin').text) for e in root.findall('sport')]
|
7
|
+
sports = [(e.find('sport').text, e.find('orgin').text) for e in root.findall('sports/sport')]
|
8
8
|
|
9
9
|
|
10
10
|
|