You are viewing a single comment's thread. Return to all comments →
Python3:
def compareTriplets(a, b): Alice_counter, Bob_counter = sum([1 for i, j in zip(a, b) if i > j]), sum([1 for i, j in zip(a, b) if i < j]) return Alice_counter, Bob_counter
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: