(repeat = 20000)
return integral
:param repeat: integral

    :return: float
:param repeat: integral
: param repeat : integral
def solve_integral(repeat = 20000) -> float:
    '''
    :param repeat: integral

    :return: float
    '''
    
    count = 0
    for i in range(repeat):
        x = random.random()
        y = random.random()
        if y > x*x:
            count += 1

    ratio = count / repeat
    integral = ratio * 1
    return integral
def solve_integral ( repeat = 20000 ) -> float : count = 0 for i in range ( repeat ) : x = random . random ( ) y = random . random ( ) if y > x * x : count += 1 ratio = count / repeat integral = ratio * 1 return integral