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