def METHOD_NAME(
    self,
    start_real: float = 0.0,
    end_real: float = 1.0,
    start_imag: float = 0.0,
    end_imag: float = 1.0,
    precision_real: int = 15,
    precision_imag: int = 15,
) -> complex:
    """Generate a random complex number.
    :param start_real: Start real range.
    :param end_real: End real range.
    :param start_imag: Start imaginary range.
    :param end_imag: End imaginary range.
    :param precision_real:  Round a real part of
        number to a given precision.
    :param precision_imag:  Round the imaginary part of
        number to a given precision.
    :return: Complex numbers.
    """
    real_part = self.random.uniform(start_real, end_real, precision_real)
    imag_part = self.random.uniform(start_imag, end_imag, precision_imag)
    return complex(real_part, imag_part)