You are viewing a single comment's thread. Return to all comments →
I love it i made some small changes:
def compareTriplets(a, b): c = 0 d = 0
for e, f in zip(a, b): if e > f: c+= 1 elif e < f: d+=1 return (c,d)
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 →
I love it i made some small changes:
def compareTriplets(a, b): c = 0 d = 0