I am trying to find the prime number from the function isPrime. If the number is prime it will give me true, if not it will give me false.
When I input 5 on the command prompt it gives me true, but when I input isPrime(5) I get false. How can I make it give me true for both inputs, 5 and isPrime(5)?