Free test template · Developer screening

Python developer test for hiring

Python is easy to start and easy to misuse. Find out whether a candidate knows the language well enough to avoid the bugs that reach production.

12 ready-made questions · Edit everything · Free plan, no card needed

Sample questions from this template

  1. Question 1 · Single choice
    What does len({"a": 1, "b": 2}) return?
    1
    2
    4
    It raises an error
  2. Question 2 · Single choice
    Which of these types is immutable?
    list
    dict
    tuple
    set
  3. Question 3 · Single choice
    What is the result of [x * 2 for x in range(4)]?
    [0, 2, 4, 6]
    [2, 4, 6, 8]
    [0, 2, 4, 6, 8]
    [0, 1, 2, 3]

Answer keys and explanations are included when you import the pack into your question bank.

Why test Python skills before the interview?

Python appears on CVs for data scientists, back-end engineers, automation testers and analysts, and the depth behind it varies a lot. Some candidates have written production services; others have run a few notebooks. A quick, timed screen tells you which is which before an engineer spends an hour on a technical interview.

What this template covers

How to run it well

For a first screen, twelve questions in 15 minutes is about right. Most questions show a short snippet, so candidates need time to read code but should not need to run it. A pass mark of 65% fits junior and mid-level roles. For senior hires, push it to 75% and add your own questions on typing, async code or packaging.

Turn on question and option shuffling, and use a random subset if you send the test to a large applicant pool. In the results, look at the bug-spotting questions first. Someone who recognises the mutable default argument problem usually has real debugging experience behind them.

Who this test is for

Use it for back-end and full-stack Python developers, automation and scripting roles, junior data engineers and graduates coming out of coding bootcamps. Teams that hire data scientists can use it to confirm the general Python level before testing statistics or machine learning separately. Because the questions rely on reading short snippets rather than any particular library, the results compare fairly between people who learnt Python at university, at work or on their own. That makes it a good equaliser for career changers whose CVs look thin but whose skills may be solid.

Make it yours

Add questions on the frameworks you actually use, such as Django, Flask, FastAPI or pandas, and on your own conventions for testing and type hints. You can ask the AI generator for more questions on a narrow topic like decorators or asyncio and review each one before it goes live. Answers are scored on the server, so the key cannot be found by inspecting the page.

Frequently asked questions

How long should a Python test be?

Twelve to fifteen questions in about 15 minutes is enough for a screen. Save longer coding exercises for candidates who pass.

Can candidates cheat?

Each candidate can get a random set of questions, shuffled options, a timer and a full-screen lock, and leaving the test is recorded. Correct answers never reach the browser.

Does this test cover data science libraries?

No, it focuses on the core language. Add your own questions on pandas, NumPy or other libraries if the role needs them.

Send your first python developer test today.

Import all 12 questions, set a timer and pass mark, and share a link in about two minutes.

Use this template free

More test templates

All 60 test templates