Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- titles = []
- [[titles.append(book.getElementsByTagName(i)[0]) for i in xml_tuple] for book in books]
- Правильно:
- titles = [
- [titles.append(book.getElementsByTagName(i)[0]) for i in xml_tuple]
- for book in books
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement