Infocusp Interview Question

Two Python coding questions were asked.