Evolution Interview Question

Write a function which displays if number is prime or not