Erdős-Nicolas numbers: Difference between revisions

m
→‎Python: Minor grammatical fix.
(Added Python implementation for Erdős-Nicolas numbers task)
m (→‎Python: Minor grammatical fix.)
Line 1,169:
=={{header|Python}}==
{{trans|C}}
This is a translation of the "slight improvement" C code. I ran this script using PyPy7.3.13 (Python3.10.13) and it completes in ~10.5s on a AMD Ryzen 7 7800X3D.
<syntaxhighlight lang="python">
# erdos-nicolas.py by Xing216
34

edits