code: def create_paired_list(value):
      
  
      if isinstance(value, list):
          value = ",".join(value)
  
      array = re.split('\D+', value)
  
      # Make sure the elements in the list are even and pairable
      if len(array) % 2 == 0:
          new_array = [list(array[i:i + 2]) for i in range(0, len(array), 2)]
          return new_array
      else:
          raise ValueError('The string should include pairs and be formated. '
                           'The format must be 003,003,004,004 (commas with '
                           'no space)')
docs: Create a list of paired items from a string.
  
      :param value:
          the format must be 003,003,004,004 (commas with no space)
      :type value:
          String
  
      :returns:
          List
  
      :example:
          >>> create_paired_list('003,003,004,004')
          [['003','003'], ['004', '004']]