You are viewing a single comment's thread. Return to all comments →
Here is my solution:
def compareTriplets(a, b): points = [0,0] for x, y in zip(a, b): match x,y: case a,b if x == y: result == result case a,b if x > y: result[0] += 1 case a,b if x < y: result[1] += 1 return(result)
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 →
Here is my solution: