parameters: (old, new)
return_statement: return new
docstring: Merge the max element one by one in two lists.
docstring_summary: Merge the max element one by one in two lists.
docstring_tokens: Merge the max element one by one in two lists .
function: def merge_max_value(old, new):
      """
      Merge the max element one by one in two lists.
      """
      assert isinstance(old, list) and isinstance(new, list)
      if old != []:
          assert len(old) == len(new)
          for i in range(len(old)):
              assert type(old[i]) == type(new[i])
              if isinstance(old[i], list):
                  new[i] = merge_max_value(old[i], new[i])
              else:
                  new[i] = old[i] if new[i] < old[i] else new[i]
      return new
function_tokens: def merge_max_value ( old , new ) : assert isinstance ( old , list ) and isinstance ( new , list ) if old != [ ] : assert len ( old ) == len ( new ) for i in range ( len ( old ) ) : assert type ( old [ i ] ) == type ( new [ i ] ) if isinstance ( old [ i ] , list ) : new [ i ] = merge_max_value ( old [ i ] , new [ i ] ) else : new [ i ] = old [ i ] if new [ i ] < old [ i ] else new [ i ] return new