You are viewing a single comment's thread. Return to all comments →
Python 3 solution:
scores = [0, 0] for count, triplet in enumerate(a): scores[0] += a[count] > b[count] scores[1] += b[count] > a[count] return scores
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
Python 3 solution: