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