Example #1
0
 def list_primes(n):
     return list(sage.primes(n+1))
Example #2
0
 def list_primes(n):
     return [int(_) for _ in sage.primes(n + 1)]
Example #3
0
 def list_primes(n):
     return map(int, sage.primes(n + 1))
Example #4
0
 def list_primes(n):
     return map(int, sage.primes(n + 1))
Example #5
0
 def list_primes(n):
     return list(sage.primes(n + 1))
Example #6
0
 def list_primes(n):
     return [int(_) for _ in sage.primes(n+1)]