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