Pergunta de entrevista da empresa Cognizant

I have to do a python program for print a prime number