Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/E869120/math-algorithm-book
/ Code_3_01_1.py
File
Code_3_01_1.py
codes/python/Code_3_01_1.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# 2 以上の整数 N に対し、N が素数であれば true、素数でなければ false を返す関数
2
def
isprime(N):
3
for
i in range(2, N):
4
if
N % i == 0:
Callers
nothing calls this directly
Calls
1
isprime
Function · 0.70
Tested by
no test coverage detected