Junior Python Developer interview questions
Last updated December 4, 2026. Twelve common questions for junior python developer interviews, what interviewers usually look for, and an example answer using the STAR structure (Situation, Task, Action, Result). Questions and examples are written for this site.
What interviewers look for
Solid fundamentals, reading other people's code, testing, and asking good questions.
12 questions to practice
- What is the difference between a list and a tuple in Python?
- How would you find and fix a bug in code you did not write?
- What is a virtual environment and why use one?
- Explain what a Python dictionary is good for.
- How do you write a unit test?
- Tell me about a project you built. What would you change now?
- How do you use Git day to day?
- How do you handle an error you have never seen before?
- Tell me about yourself.
- Why do you want this role?
- Tell me about a time you made a mistake at work and what you did next.
- What questions do you have for us?
Example answer (STAR) to question 2
- Situation: A school project's data import script crashed on some files.
- Task: I had to make it handle every file before the demo.
- Action: I wrote a small failing test using one bad file, found that some files used a different date format, added parsing for both and logged anything still unreadable.
- Result: All files imported, the test stayed in the project and the demo went smoothly.
Use your own true story. Keep it to about two minutes, and end on the result.