Format
This commit is contained in:
parent
8d6861f742
commit
b01983bdba
@ -9,7 +9,7 @@ def isPrime(n):
|
||||
numberToCheck = 5
|
||||
while numberToCheck <= limit:
|
||||
if n % numberToCheck == 0: return False
|
||||
numberToCheck += 2 # Skip all even numbers
|
||||
numberToCheck += 2 # Skip all even numbers
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user