Capgemini Engineering Interview Question

Basic of python and oops