Morningstar Interview Question

Constructor in python , why needed?