Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split List by yoichi
def split_list(items: list) -> list:
index = (len(items)+1)//2
return [items[:index], items[index:]]
Jan. 24, 2020