Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
math.ceil solution in Clear category for Split List by Oksana_Antropova
import math
def split_list(items: list) -> list:
i = math.ceil(len(items)/2)
return [items[:i], items[i:]]
Oct. 13, 2020