We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- XML
- XML 1 - Find the Score
- Discussions
XML 1 - Find the Score
XML 1 - Find the Score
Sort by
recency
|
208 Discussions
|
Please Login in order to post a comment
I don't know why, but I was pretty sure that we have to do recursive method to solve this problem. I mean, I did that, and it works. But when I see others solutions, I have seen that node.iter() just go through every line of the xml document which is, I think, better.
Anyway, here my code :
Here is HackerRank XML 1 - Find the Score in Python solution - https://programmingoneonone.com/hackerrank-xml-1-find-the-score-solution-in-python.html