You are viewing a single comment's thread. Return to all comments →
def toys(w): # Write your code here i=0 w.sort() minW = w[0] count = 1 while(i< len(w)): if w[i] > 4+minW: count+=1 minW = w[i] i+=1 return count
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 →