Capgemini Interview Question

Prime number program in python