You are viewing a single comment's thread. Return to all comments →
I am wondering why this failed
def breakingRecords(scores): max_score = scores[0] min_score = scores[0] high = 0 low = 0 for idx in range(1,len(scores)): if scores[idx] > max_score: high+=1 max_score = scores[idx] elif scores[idx] < min_score: low += 1 min_score = scores[idx] return str(high) + str(low)
Thanks!
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 →
I am wondering why this failed
Thanks!