You are viewing a single comment's thread. Return to all comments →
def toys(w): # Write your code here w.sort() thr=w[0] count=1 for i in range(len(w)): if w[i]>thr+4: thr=w[i] count+=1 return count
Priyanka and Toys
You are viewing a single comment's thread. Return to all comments →