Siemens interview question

Questions on basic python programming and oops concepts