Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ prime_numbers.py
File
prime_numbers.py
maths/prime_numbers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
math
2
from
collections.abc
import
Generator
3
4
Callers
nothing calls this directly
Calls
2
primes
Function · 0.85
benchmark
Function · 0.70
Tested by
no test coverage detected