Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
19 lines (15 sloc) 284 Bytes
"""
Problem 7. 10001st prime.
http://static.projecteuler.net/problem=7
"""
import misc
def main():
counter = 1
num = 1
while counter < 10001:
num += 2
if misc.is_prime(num):
counter += 1
print(num)
if __name__ == '__main__':
main()
You can’t perform that action at this time.