You are viewing a single comment's thread. Return to all comments →
Here is my Python solution!
def toys(w): minimum = min(w) + 4 containers = 1 w = sorted(w) for toy in w: if toy > minimum: minimum = toy + 4 containers += 1 return containers
Seems like cookies are disabled on this browser, please enable them to open this website
Priyanka and Toys
You are viewing a single comment's thread. Return to all comments →
Here is my Python solution!