code: def find_point_in_section_list(point, section_list):
      if point < section_list[0] or point > section_list[-1]:
          return None
      if point in section_list:
          if point == section_list[-1]:
              return section_list[-2]
          ind = section_list.bisect(point)-1
          if ind == 0:
              return section_list[0]
          return section_list[ind]
      try:
          ind = section_list.bisect(point)
          return section_list[ind-1]
      except IndexError:
          return None