def floats(self, n: int = 2) -> List[float]:
        """Generate a list of random float numbers.

        :param n: Raise 10 to the 'n' power.
        :return: The list of floating-point numbers.
        """
        nums = [self.random.random()
                for _ in range(10 ** int(n))]
        return nums
Generate a list of random float numbers.

        :param n: Raise 10 to the 'n' power.
        :return: The list of floating-point numbers.