Capgemini interview question

Interpreted python languge