Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishruth-S/CompetitiveCode
/ is_prime
Function
is_prime
Codeforces_problems/Number Game/solution.py:2–6 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
1
import
math
2
def
is_prime(n):
3
for
i in range(2,int(math.sqrt(n)) +1):
4
if
n%i == 0:
5
return
False
6
return
True
7
8
9
for
_ in range(int(input())):
Callers
1
solution.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected