You are viewing a single comment's thread. Return to all comments →
def breakingRecords(scores): min=scores[0] max=scores[0] min_count=0 max_count=0 for i in scores: if i<min: min=i min_count+=1 elif i>max: max=i max_count+=1 return (max_count,min_count)
Seems like cookies are disabled on this browser, please enable them to open this website
Breaking the Records
You are viewing a single comment's thread. Return to all comments →