Partition problem

Sign in to test your solution.
def partitionate(row:list, k:int): """ >>> partitionate([100,200,300,200,100,400,200],3) [[100, 200], [300, 200, 100], [400, 200]] """ #TODO