HomebaseWorks

Python: practice, test and prove it

A 10-question test on lists, dicts, slicing, exceptions and files, with every answer explained.

FreeNo sign-up to testNo attempts yet

Junior Python screenings are mostly code reading: what does this print, which exception is raised, why did the list change. The test here uses that format, and the result page explains each answer.

Benchmark: 80% is the pass mark here; junior screenings expect you to read short snippets and predict output. Requirements vary by employer.

Lessons

Advertisement

Interview prep

Certificate

Free with an accountA PDF with your name, best score and date. Records this site's tests only.

Common questions

What Python level do junior roles test?

Core syntax, lists and dicts, slicing, functions, exceptions and reading files. Frameworks come later in the process, if at all.

Do I need to run code during the test?

No. The questions are code reading. Running the snippets afterwards in a Python shell is a good way to study.

Which Python version?

Python 3. All snippets use current syntax.