Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How is that complicated? It's literally doing exactly what you specified in your problem statement, nothing more. It's also literally the simplest list comprehension you can write over a nested list.