code: def _remove_by_number(self, number: int):
          
          if number not in self._data:
              raise ValueError("Data object replica number %d is not in this collection" % number)
          del self._data[number]
          assert number not in self._data
docs: Removes the data object from this collection with the given number. A `ValueError` will be raised if a data
          object with the given number does not exist.
          :param number: the number of the data object to remove