Bloomberg interview question

A series of technical questions about Python programming.