code: def randints(self, amount: int = 3,
                   a: int = 1, b: int = 100) -> List[int]:
          
          if amount <= 0:
              raise ValueError('Amount out of range.')
  
          return [int(self.random() * (b - a)) + a
                  for _ in range(amount)]
docs: Generate list of random integers.
  
          :param amount: Amount of elements.
          :param a: Minimum value of range.
          :param b: Maximum value of range.
          :return: List of random integers.
          :raises ValueError: if amount less or equal to zero.