You are viewing a single comment's thread. Return to all comments →
python3
def compareTriplets(a, b): points = [0, 0] for alice, bob in zip(a, b): points[0] += int(alice > bob) points[1] += int(bob > alice) return points
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 →
python3