code: def comma_separated_positions(text):
      
      chunks = []
      start = 0
      end = 0
      for item in text.split(","):
          space_increment = 1 if item[0] == " " else 0
          start += space_increment  # Is there a space after the comma to ignore? ", "
          end += len(item.lstrip()) + space_increment
          chunks.append((start, end))
          start += len(item.lstrip()) + 1  # Plus comma
          end = start
      return chunks
docs: Start and end positions of comma separated text items.
  
      Commas and trailing spaces should not be included.
  
      >>> comma_separated_positions("ABC, 2,3")
      [(0, 3), (5, 6), (7, 8)]