📜  展平列表 python - 任何代码示例

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

代码示例6
flattened = [val for sublist in list_of_lists for val in sublist]