loading
main.py
1
2
3
4
5
6
7
from Euler import prime_sieve
# Add and extra element to the front of our list to base it from 1 and not 0
prime = [0]+prime_sieve(105000)

n = int(input('nth prime number (<10002)? '))
print "Prime number", n, "is", prime[n]