Solution Review: Check Whether a Number is Prime
This review explains the solution for the "checking prime" problem.
We'll cover the following...
We'll cover the following...
Solution
Explanation
Over here, we have to add in the condition for when n is less than or equal to 1, as you can see in line 3 of the above code. If n is either less than or equal ...