Sorry,
Your algorithm is still wrong, because
print(isPrime(5))
results in None instead of true.
Maybe the last "return true" is wrong indented.
Your algorithm is still wrong, because
print(isPrime(5))
results in None instead of true.
Maybe the last "return true" is wrong indented.