Pregunta de entrevista de Fast Enterprises

Write a function to display all the prime numbers on the range given.