Pregunta de entrevista de Fidelity Investments

Python basics question and general development