Capgemini Engineering Interview Question

Questions related to python and oops