You are viewing a single comment's thread. Return to all comments →
def compareTriplets(a, b): # Write your code here r = [0,0] for xa,yb in zip(a, b): if xa > yb: r[0] += 1 if yb > xa: r[1] += 1 return r
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 →