Pergunta de entrevista da empresa Morningstar

Constructor in python , why needed?