📅  最后修改于: 2022-03-11 14:46:48.133000             🧑  作者: Mango
代码示例1
def split_list(a_list):
half = len(a_list)//2
return a_list[:half], a_list[half:]
A = [1,2,3,4,5,6]
B, C = split_list(A)