Compare the Triplets

  • + 0 comments

    Python 3 solution:

        scores = [0, 0]
        for count, triplet in enumerate(a):
            scores[0] += a[count] > b[count]
            scores[1] += b[count] > a[count]
        return scores