code: def _generate_splice(self, slice_ind):
          '''
          Creates a splice size version of the ZeroList
          '''
          step_size = slice_ind.step if slice_ind.step else 1
          # Check for each of the four possible scenarios
          if slice_ind.start != None:
              if slice_ind.stop != None:
                  newListLen = ((get_non_negative_index(slice_ind.stop, self._length) -
                                 get_non_negative_index(slice_ind.start, self._length)) // step_size)
              else:
                  newListLen = ((self._length -
                                 get_non_negative_index(slice_ind.start, self._length)) // step_size)
          else:
              if slice_ind.stop != None:
                  newListLen = ((get_non_negative_index(slice_ind.stop, self._length)) // step_size)
              else:
                  newListLen = (self._length // step_size)
  
          return ZeroList(newListLenf _generate_splice(self, slice_ind):
          '''
          Creates a splice size version of the ZeroList
          '''
          step_size = slice_ind.step if slice_ind.step else 1
          # Check for each of the four possible scenarios
          if slice_ind.start != None:
              if slice_ind.stop != None:
                  newListLen = ((get_non_negative_index(slice_ind.stop, self._length) -
                                 get_non_negative_index(slice_ind.start, self._length)) // step_size)
              else:
                  newListLen = ((self._length -
                                 get_non_negative_index(slice_ind.start, self._length)) // step_size)
          else:
              if slice_ind.stop != None:
                  newListLen = ((get_non_negative_index(slice_ind.stop, self._length)) // step_size)
              else:
                  newListLen = (self._length // step_size)
  
          return ZeroList(newListLen)
docs: Creates a splice size version of the ZeroList