Fidelity Investments interview question

Python syntax and self introduction