code: def find_range_in_section_list(start, end, section_list):
      
      ind = find_range_ix_in_section_list(start, end, section_list)
      return section_list[ind[0]: ind[1]]
docs: Returns all sections belonging to the given range.
  
      The given list is assumed to contain start points of consecutive
      sections, except for the final point, assumed to be the end point of the
      last section. For example, the list [5, 8, 30, 31] is interpreted as the
      following list of sections: [5-8), [8-30), [30-31]. As such, this function
      will return [5,8] for the range (7,9) and [5,8,30] while for (7, 30).
  
      Parameters
      ---------
      start : float
          The start of the desired range.
      end : float
          The end of the desired range.
      section_list : sortedcontainers.SortedList
          A list of start points of consecutive sections.
  
      Returns
      -------
      iterable
          The starting points of all sections belonging to the given range.
  
      Example
      -------
      >>> from sortedcontainers import SortedList
      >>> seclist = SortedList([5, 8, 30, 31])
      >>> find_range_in_section_list(3, 4, seclist)
      []
      >>> find_range_in_section_list(6, 7, seclist)
      [5]
      >>> find_range_in_section_list(7, 9, seclist)
      [5, 8]
      >>> find_range_in_section_list(7, 30, seclist)
      [5, 8, 30]
      >>> find_range_in_section_list(7, 321, seclist)
      [5, 8, 30]
      >>> find_range_in_section_list(4, 321, seclist)
      [5, 8, 30]