|
|
|
|
|
by ambicapter
3743 days ago
|
|
> planets_flat = [planet for episode in episodes.values() for planet in episode['planets']] Can somebody explain this one to me (I understand list comprehensions)? I'm having trouble understanding how the second part uses something defined in the first part, but the first part can't stand on its own, so > [planet for episode in episodes.values()] returns an error. |
|