Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
for + append easy split solution in Clear category for Split List by deciver5
def split_list(items: list) -> list:
anwser_list,list2 = [[]],[]
for i in range(len(items)):
if i < len(items)/2: anwser_list[0].append(items[i])
else: list2.append(items[i])
anwser_list.append(list2)
return anwser_list
Aug. 1, 2022