标签: python sublist
我的实习生名单:
list1 = [0L, 1L, 2L, 7L, 8L, 3L, 4L, 5L, 6L] list2 = [5,2,2]
我想要的清单:
OutList = [[0L, 1L, 2L, 7L, 8L], [3L, 4L], [5L, 6L]]
我该怎么做?