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