Biofourmis Interview Question

related to python and SQL