Pergunta de entrevista da empresa CTS

Oops explanation, basic programming questions in python