Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ is_prime_c
Function
is_prime_c
check_prime.py:33–40 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
31
32
33
def
is_prime_c(n):
34
divisible = 0
35
for
i in range(1, n + 1):
36
if
n % i == 0:
37
divisible += 1
38
if
divisible == 2:
39
return
True
40
return
False
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected