docs: def repeat(element, count):
      '''Generate a sequence with one repeated value.
  
      Note: This method uses deferred execution.
  
      Args:
          element: The value to be repeated.
          count: The number of times to repeat the value.
  
      Raises:
          ValueError: If the count is negative.
      '''
      if count < 0:
          raise ValueError("repeat() count cannot be negative")
      return query(itertools.repeat(element, count))