You are viewing a single comment's thread. Return to all comments →
def breakingRecords(scores): min_score = scores[0] max_score = scores[0] result = [0, 0] for score in scores: if score < min_score: min_score = score result[1]+=1 if score > max_score: max_score = score result[0]+=1 return result
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 →