Capgemini Interview Question

Regarding python and api testing