Pregunta de entrevista de NS Matrix Services

Write a function for printing prime numbers.