Function to store primes in an array
def findPrime ( primes ) : NEW_LINE INDENT global MAX NEW_LINE for i in range ( 2 , MAX + 1 , 1 ) : NEW_LINE INDENT if ( isPrime ( i ) ) : NEW_LINE INDENT primes . append ( i ) NEW_LINE DEDENT DEDENT DEDENT