code: def floats(self, n: int = 2) -> List[float]:
          
          nums = [self.random.random()
                  for _ in range(10 ** int(n))]
          return nums
docs: Generate a list of random float numbers.
  
          :param n: Raise 10 to the 'n' power.
          :return: The list of floating-point numbers.