4 ms·
> I want to know all main character names in all books Off the top of my head, without testing it: [ character['name'] for characters in [
by LyndsySimon 11y ago
> I want to know all main character names in all books
Off the top of my head, without testing it:
[
character['name']
for characters in [
book['mainCharacters']
for book in library
]
for character in characters
]