Capgemini Interview Question

Python program to print first n Prime Number with explanation.