Compare the Triplets

  • + 0 comments
        x = sum([10 if aa>bb else 1 if aa <bb else 0 for aa,bb in zip(a,b)])    
        return [x//10, x%10]