📜  如何连接列表中的所有列表 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:00.545000             🧑  作者: Mango

代码示例2
>>> x = [["a","b"], ["c"]]
>>> [inner
...     for outer in x
...         for inner in outer]
['a', 'b', 'c']