python 神操作   将list 拉平 

 

list_of_lists = [[1], [2, 3], [4, 5, 6]]
sum(list_of_lists, [])

相关文章: