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