We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f98f593 commit 063ea4eCopy full SHA for 063ea4e
prime_check.py
@@ -9,7 +9,7 @@ def prime(a):
9
if a%2==0 or a%3==0:
10
return False
11
for i in range(5,int(sqrt(a))+1,4):
12
- if n%i==0 or n%(i+2)==0:
+ if a%i==0 or a%(i+2)==0:
13
14
return True
15
0 commit comments