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