Capgemini interview question

Basic python data structures OOPS concept