📅  最后修改于: 2022-03-11 14:46:26.581000             🧑  作者: Mango
代码示例1
def even_divide(lst, num_piece=4):
return [
[lst[i] for i in range(len(lst)) if (i % num_piece) == r]
for r in range(num_piece)
]