You are viewing a single comment's thread. Return to all comments →
def toys(w): w.sort() current = w[0] count = 1 for item_weigh in w[1:]: if not current <= item_weigh <= current + 4: count += 1 current = item_weigh 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 →