Quantiphi Interview Question

Python programming