10001th prime: Difference between revisions
m
→{{header|Python}}
Line 532:
=={{header|Python}}==
<lang python>import time; max=10001; n=1; p=1; # PRIMES russian DANILIN
while n<=max: #
f=0; j=2 # rextester.com/
while
if p
if f !=
▲print(n-1,p-1)
print(time.perf_counter())</lang>
{{out}}
|