Nokia interview question

Python specific questions about syntax.