Pergunta de entrevista da empresa Canonical

The python test included 3 sections. The first section had 25 multiple choice questions which required knowledge of built in libraries. The second one was a mathematical - programming problem. And the final section was a problem with string manipulation, which I didn't manage to solve in time.