python 獲取二維數組全部元素

  import itertools original_list = [[2,4,3],[1,5,6], [9], [7,9,0]] new_merged_list = list(itertools.chain(*original_list)) print(new_merged_list)   轉載於:https://www.cnblogs.com/sea-stream/p/10004
相關文章
相關標籤/搜索