python神操作将list拉平

python 神操作   将list 拉平 

 

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

posted on 2019-12-02 12:24  耀扬  阅读(1966)  评论(0编辑  收藏  举报

导航