→ ThxThx: 請愛用內建library 09/12 22:52
→ ThxThx: from itertools import chain 09/12 22:52
→ ThxThx: list(chain.from_iterables(list3)) 09/12 22:52
→ ThxThx: 更正:list2 09/12 22:52
推 me356500: Numpy? 09/12 23:08
推 TitanEric: 感覺可以用個sort(list, key=Len(sub list))之類的排序 09/12 23:35
→ tommy5617: 謝謝大家!原來用sorted排序就可以了 09/13 00:06
推 sean50301: sorted(list1,key=lambda l:len(l)) 09/13 19:04
→ sean50301: sorted(list1,key=len) 09/13 19:05