Compare the Triplets

  • + 0 comments

    teamA = 0 teamB = 0

    for i in range(len(a)):
        if a[i] > b[i]:
            teamA +=1
        elif a[i]<b[i]:
            teamB +=1
    return list([teamA,teamB])