(n)
return [x for x in Sieve().primerange(2, prime(n))]
Return the list of [2,..., n] n-th primes
Return the list of [2,..., n] n-th primes
Return the list of [ 2 ... n ] n - th primes
def primes_list(n):
    """Return the list of [2,..., n] n-th primes"""
    return [x for x in Sieve().primerange(2, prime(n))]
def primes_list ( n ) : return [ x for x in Sieve ( ) . primerange ( 2 , prime ( n ) ) ]