Question d’entretien chez Viewpost

Write a function that determines if N is a prime number.