You are viewing a single comment's thread. Return to all comments →
def compareTriplets(a, b): scores = [0, 0] for i in range(3): if a[i] > b[i]: scores[0] += 1 elif a[i] < b[i]: scores[1] += 1 else: continue 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 →