Capgemini Engineering Interview Question

Python based for me