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