Compare the Triplets

  • + 0 comments

    def compareTriplets(a, b): # Write your code here points =[0,0] for i, j in zip(a, b): if i > j: points[0] = points[0] + 1 elif i < j: points[1] = points[1] + 1 return points