Cognizant Interview Question

Prime Number and Factorial using Python