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

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.

Test case being debugged