parameters: (self, triplets, target)
return_statement: return result == target
docstring: :type triplets: List[List[int]]
          :type target: List[int]
          :rtype: bool
docstring_summary: :type triplets: List[List[int]]
          :type target: List[int]
          :rtype: bool
docstring_tokens: : type triplets : List [ List [ int ]] : type target : List [ int ] : rtype : bool
function: def mergeTriplets(self, triplets, target):
          """
          :type triplets: List[List[int]]
          :type target: List[int]
          :rtype: bool
          """
          result = [0]*3
          for t in triplets:
              if all(t[i] <= target[i] for i in xrange(3)):
                  result = [max(result[i], t[i]) for i in xrange(3)]
          return result == target
function_tokens: def mergeTriplets ( self , triplets , target ) : result = [ 0 ] * 3 for t in triplets : if all ( t [ i ] <= target [ i ] for i in xrange ( 3 ) ) : result = [ max ( result [ i ] , t [ i ] ) for i in xrange ( 3 ) ] return result == target