|
Re: Exception handling: point is...?
I can't tell if you were agreeing or disagreeing with me, but either way, your new code handles n=2 properly now. Your old code returned false when n % 2 == 0. That was incorrect, since 2 is a prime number.
Anyways, you have it now.
|