Your question is Prime Number Check. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Write code to verify if a given number is prime.
Implement def is_prime(number):, returning True when number has exactly two positive divisors and False otherwise. Treat all integers less than 2 as non-prime. Return a boolean for every valid integer input.
def is_prime(number):