Capgemini interview question

Python - Lists, Oops etc