(func)
eval func which primes will generate
eval func which primes will generate
eval func which primes will generate
def eval_func(func):
    """eval func which primes will generate"""
    n = 0
    while True:
        prime = isprime(func(n))
        if prime:
            n += 1
        else:
            return n
def eval_func ( func ) : n = 0 while True : prime = isprime ( func ( n ) ) if prime : n += 1 else : return n