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